Replies: 7 comments 31 replies
-
Use X11 if you need unattended access. |
Beta Was this translation helpful? Give feedback.
-
Actually ...
That statement is not true. Gnome 47 permits unattended access. Scenario:
Then, from another external host:
Now, using an RDP client, you can connect to the just-configured Fedora 41 Gnome Wayland desktop via rdp. There is not a "select screen to share" popup; the gnome-remote-desktop service knows how to overcome that wayland request, and the user gets to view and interact with the remote desktop as expected. I think Rust Desktop just needs to do some extra work with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Also getting this dialog. RustDesk 1.3.9
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I’d like to raise awareness and open a discussion regarding an ongoing issue when sharing screens in Wayland sessions (e.g., on Ubuntu with Mutter): the monitor selection is not remembered between sessions or reboots. Currently, when a remote desktop or screen sharing tool (such as a video conferencing app using xdg-desktop-portal) is used, the user is prompted to select a monitor every time. That selection is not persisted, even if the user regularly chooses the same display. issue on xdg desktop https://gitlab.gnome.org/GNOME/mutter/-/issues?show=eyJpaWQiOiI0MTU1IiwiZnVsbF9wYXRoIjoiR05PTUUvbXV0dGVyIiwiaWQiOjIyMjEzMH0%3D In this Mutter issue, the GNOME team clarified that this is not a bug in Mutter or Wayland itself. Instead, it is up to the application to implement support for restore tokens, as defined in the remote desktop portal documentation: "Yes, the application must use 'restore tokens' as documented by the remote desktop portal. See the restore_token property of SelectDevices() in https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.RemoteDesktop.html." Furthermore, to persist the monitor selection across reboots, the application must set: persist_mode = 2 (indefinite) However, the Mutter team also notes: "If that is done, but isn't working, then open an issue on https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome, where this is handled." This implies that even when an application correctly implements restore tokens and sets the persistence mode to indefinite, it may still fail due to a bug or limitation in the xdg-desktop-portal-gnome implementation. Suggestions Provide sample code or a working example that correctly implements restore_token with persist_mode: 2. Consider fallback mechanisms at the system level, or user preferences that allow monitor selection to persist even if the application does not explicitly support restore tokens. From a user’s perspective, this feels like a system bug — because apps on X11 generally remember the monitor without any extra logic. Clarifying the required responsibilities on both the app and system side would help developers and users alike. Is there any ongoing work to improve this UX or make restore token handling more consistent across apps? Thanks for all your hard work on Mutter, GNOME, and the Wayland ecosystem! |
Beta Was this translation helpful? Give feedback.
-
For KDE users:
Caveats:
More info: https://develop.kde.org/docs/administration/portal-permissions/
In my case I just removed the deb package, followed the steps above, it worked and that's enough for me. Just checked using v1.4.0 to connect from Android to Kubuntu 25.04 and KDE 6.3.4. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
I have been using Rustdesk for around a year. Very recently I have been having a problem that doesn't let me connect remotely. I use Gnome, and I guess I also use Wayland.
It has always worked OK, but now when I try to connect to the remote computer, it says
"WAYLAND Select the screen to be shared".
Of course I cannot do this since the remote computer is miles away.
Nevertheless I went in person, and I could see a Wayland message appeared in the remote computer about letting access, so I clicked yes, and it worked fine.
But when I went away and tried to connect remotely, then Rustdesk did not work. It was either saying that the server is offline, or it was saying it is online, but requesting again to select the screen to be shared.
It seems I need to be in person to select a screen, and this only works once. Once I go away it will not connect.
I am not sure if this a Rustdesk or a Wayland issue. To the best of my knowledge I haven't changed anything. This new behaviour happened suddenly.
How to Reproduce
I use Archlinux with Gnome, fully updated. Rustdesk is also fully updated. I open Rustdesk and I click to connect, as usual, and the above behaviour happens.
The computer I am trying to connect is running ArchLinux, Gnome. The computer I am using to try to connect is using the same (Linux/Gnome). But I have tried to connect using Windows 11 and also OSX, with the same problem happening.
Expected Behavior
It should enable me to connect.
Operating system(s) on local (controlling) side and remote (controlled) side
Linux -> Linux
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.3.2 - 1.3.2
Screenshots
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions