When I try to screenshare my gaming PC (Plasma Wayland) from my laptop (COSMIC) using RustDesk, my PC is asking to allow remote desktop access for it.
My laptop:
My PC:
After I close RustDesk, I lose the permission for it. How do I make it permanent?
1 Like
Hi - if you’re on Plasma 6.3, this new feature should be available and may be able to help in this situation: XDG Portal Pre-Authorization | Developer
There’s still ongoing work to refine documentation on how to use it (Rephrase XDG pre-authorization docs (!559) · Merge requests · Documentation / Developer Tutorial and Article Site · GitLab), but if you can narrow down an application ID for the program you want to authorize, that might be the trickiest part 
I still got prompted after entering it
sudo flatpak permission-set kde-authorized remote-desktop com.rustdesk.RustDesk yes
Operating System: TUXEDO OS
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-109018-tuxedo (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570S AORUS MASTER
System Version: -CF
Did you try without sudo
? All guesses on my part, but I’d assume that those portal permissions are per-user, and that using sudo
would set it for root
rather than your user account?
1 Like