Open dbrandonjohnson opened 2 years ago
I personally don't have time for this work. But if anyone wants to pick this up, there needs to be Wayland-specific implementations of IScreenCapturer and IKeyboardMouseInput.
For X11, these were accomplished by p/invoking LibX11, LibXtst, and LibXrandr. Similar libraries will need to be identified in Wayland and C#/.NET interop classes created.
It may also be possible to implement these interfaces through calling external process (example), though I'm not sure how performant that would be. Anything's better than nothing, though.
I found this (source code from a screen recorder). Maybe it helps? https://github.com/amikha1lov/RecApp/blob/585b71ad9eb2bca7c34ccc108d9dded2225439de/src/recording.py
I was looking at Remotely for a pet project, and I have to admit that this issue is quite blocking. Every disto I tried uses Wayland now by default, and unless I switch back to X11 everywhere (with all its flaws), I'm unable to use Remotely. Unfortunately, while being a .NET dev, I don't have any knowledge in either Wayland or X11. Still, I'll try to take a look, but it will take a loooooong while.
I'm willing to pay a bounty to have this resolved. $1000 US if someone can make Wayland support work properly for Linux desktops. Not sure where I can post this as a bounty, so any help is appreciated on that front.
The client does not work with systems that are using Wayland. Wayland is now the default display server on all the major Linux distributions such as RHEL Workstation, Fedora Workstation, and Ubuntu.