Unattended Remote Desktop with KDE Plasma 6 Wayland

KDE Plasma 6.3.6 with Kwin Wayland on Archlinux derivative distro user here.

I am having an hard time trying to set up a connection to my pc via VNC or RDP or anything else. The only way I can interact with my remote pc is via ssh connection.

My user account is logged already logged in on the remote host.

My local operating system is (unfortunately) windows 10; I feel like this is an important info to share. But I can load a linux distro at will if needed.

Is there any step-by-step article in order to obtain such result? Keep in mind that I dont currently have any physical access to my pc. Only remote ssh connection to the shell.

Tried without any luck: wayvnc, krfb, xrdp & krdp.

Wayvnc is not supported on kwin-wayland.

krdp (even tho I created self signed certs since it asked me) gives me weird error that I cannot understand using native windows rdp client, like
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing…
[17:40:30:435] [48592:48759] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
[17:40:30:435] [48592:48759] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
[17:40:30:435] [48592:48759] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
[17:40:33:161] [48592:48759] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
[17:40:33:161] [48592:48759] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Session setup completed, start processing…
[17:40:33:293] [48592:48788] [INFO][com.freerdp.core.connection] - Client Security: NLA:0 TLS:1 RDP:0
[17:40:33:293] [48592:48788] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
[17:40:33:293] [48592:48788] [WARN][com.freerdp.core.connection] - server supports only NLA Security
[17:40:33:293] [48592:48788] [ERROR][com.freerdp.core.connection] - Protocol security negotiation failure
[17:40:33:351] [48592:48788] [ERROR][com.freerdp.core.peer] - peer_recv_callback: CONNECTION_STATE_INITIAL - rdp_server_accept_nego() fail
[17:40:33:351] [48592:48788] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1
org.kde.krdp: Unable to check file descriptor
org.kde.krdp: Closing session
org.kde.krdp: Closing Freedesktop Portal Session

krfb: I dont understand how to use it.

xrdp: same as krfb.

Any help is appreciated. Any question is also considered as appreciated effort.

1 Like

KDEConnect?

I use KDEConnect on Android for remote input to a tiny pc running Kubuntu 25.10 and Wayland. It’s a bit clunky but does the job (which is running streaming services like Netflix). KDEConnect is used on Windows; I did for a while in the past. Needs a LAN connection.

KDEConnect? Is it really able to establish unattended remote desktop connection?

To be clear: I need something like TeamViewer, AnyDesk, RustDesk. This kind of things.
NB: Cannot use those I mentioned here for other problems (wayland not supported, graphical prompt asked on the remote host, etc)

It’s been a long time (couple of years?) since I used one of those popular remote desktop apps, but I remember well that I could connect to another desktop of mine by simply entering a special password for this specific purpose (unattended management of a remote desktop) in addition to the usual support use where a person on the other side gives their ID number and then approves the connection.

Sorry, I mentioned KDEConnect in case your use case didn’t require the full desktop.