by szszrk · 1y ago · 0 comments
There is still no possibility to have proper remote sessions when using Wayland. On any Window Manager and any distro. It's such a shitshow when you go into details. Nothing works, including third party tools (like NoMachine) and I could find no real hope for actual solutions being designed.
The best you can go with "remote session" on Wayland is viewing a desktop session that was already opened by someone directly on the computer. You can partially work around this by... setting your account to be automatically logged in with no password :D And even then it's a crippled experience.
A basic feature I used for the past 25 years and helped me to learn linux and offer safe space for others to learn it as well. To work around work computer limitations. To use your best hardware wherever and whenever you want.
I currently had to ditch both my favorite distro and WM because of that. But at least we can make screenshots nowadays, so I guess it could be worse.
I have a simple application written in QT6. It works on Windows, macOS, and X11/Linux. On Wayland/Linux, applications cannot move their own windows anymore, because "security". Good luck finding this in the QT documentation, it is there, but only at 3/dozens of places were it would be necessary, and 2/3 of those dont mention the word "Wayland". Great fun.
You can enable the rdp server there. It does allow opening new sessions remotely. It works fine.
Gnome has had remote desktop sharing I think since 46.
Settings --> System --> Remote Desktop
The "desktop sharing" tab is for setting credentials to share your logged in screen.
The "Remote Login" tab is for setting credentials to access GDM and login as any user (i.e. headless).
So you literally CANNOT log in remotely :) If you are lucky, you can assist remotely to a session someone opened locally on that machine.
And it's like that on any other WM. KDE also has a deceiving option in settings that suggests full remote desktop, while it doesn't allow that.
I tried some solutions in the past but they did not support that, which is a deal breaker.
You want proper headless session, set up X11 distro and use xrdp - it's really easy. But on wayland "remote support" to something that is already displayed on screen is all you can get now.
In other words, how RDP works on Windows.
So you're saying that is still not possible I take it.