Plasma 6.1, RDP, start server via terminal?

Me too that’s why I asked How to start Plasma session remotely (via ssh)?

Meantime you can have remote access to graphical session using VNC protocol instead of RDP. I’m using TigerVNC both on server side and on client side. The only inconvenience is that vnc server service can’t be active when there’s local plasma session active.

In practice, after logging in via ssh:

  1. If there is a local plasma session active you have to logout by executing dbus-send --dest=org.kde.Shutdown /Shutdown org.kde.Shutdown.logout (you can use other tool to send messages by dbus like qdbus-qt6).
  2. Start vnc server with sudo systemctl start vncserver@:1.service

and then you can connect from client with vncviewer host.domain.local:5901

When you are back at the server physically and the vnc connection is still active then before logging in (starting plasma session) you should first logout from the plasma session started by vnc (and still active) by switching to tty and running command from point 1 above.

Btw, someone asked Start KDE (wayland) after reboot from SSH session (not autologin) / Applications & Desktop Environments / Arch Linux Forums

1 Like