Remote Desktop Configuration.with KRDP

I am a newbie and trying to convert from Windows. During a transitional period I have a requirement to remotely access my Manjaro desktop from Windows.

The current version of Manjaro (V260104) with the KDE Plasma desktop (6.5.4) has been successfully installed under VMWare workstation. I have installed krdp and under Remote Desktop a new user has been created, RDP server has been enabled and set to auto start. Standard listening port 3389 is selected. Firewall has been checked and is disabled. Am I missing anything?

My RDP client is a Windows 11 PC. When I try and connect via IP address it starts connecting, it fails to prompt me for a username, it returns no error message but simply returns me back to the initial connection screen after about 3 seconds.

Am I missing something or is remote desktop functionality not fully there yet? Thanks.

Welcome to the forum! :vulcan_salute:

As of Plasma 6.4, Plasma now defaults to the Wayland display server protocol, and even though a remote desktop implementation is possible, the way to go about this on Wayland is very different — and more complicated — to how it is done on X11, due to the differences between both protocols.

The easiest way for you — considering your mention that this is only a transitional period — would be to install the plasma-x11-session package, and to then start Plasma with X11 as the display server. One can choose the session type at the sddm login screen — normally that would be in the bottom-left corner of the screen.

The above all said however, please do keep in mind that KDE will be dropping X11 support entirely from Plasma 6.8 onward, and that therefore, you won’t be able to sustain this setup for very long — KDE upstream has already just released Plasma 6.6.

You can only connect to an active wayland session, it may be locked, but it must exist.

So - if you have no running session - then you cannot connect.

The autostart does not refer the system, it refers to your session.

  • When you open a session, then the RDP service starts.
  • When you sign off the session, the RDP service shuts down.

To put it simple, start the virtual machine and log on, only then you can start RDP.

I have been experimenting a lot with RDP for Plasma Wayland lately and I have not yet established a working solution where you can connect to the display manager (login screen) and create a new session.

[root tip] [How To] Remote Desktop with Plasma Wayland

Define your expectation please :slight_smile:

You cannot compare Windows and Linux - they are radically different.

Hello @karibi

Could you please be more specific?

Is your RDP client a Windows 11 PC and your KDE Plasma desktop (6.5.4) each a separate PC, or is KDE Plasma desktop (6.5.4) running only in a VMware virtual machine?

And are you trying to access from a PC to a VM? Or are they two separate physical PCs?

Because for me, it works without any problems to access my test notebook with KDE Plasma desktop (6.5.4) in the Testing Branch from my Windows 10 PC using Windows own RDP client.

Thanks Daumeir. My Windows 11 PC is the RDP client. Currently I am trying to RDP to my Manjaro VM which is running under VMWare workstation on the same physical hardware.

In a perfect world I would also like to connect to a Manjaro VM running on my Unraid server which is headless.

Thanks Aragom, particularly for the insight into the future product direction. If I waited six months am I likely to see the situation change or do you think you would still recommend the x11 approach?

Thanks for he clarification around autostart, I got that wrong.

Expectation:
(a) I only have a requirement for a single concurrent RDP session
(b) I would like to logon in a headless environment
(c) If I had run an app in the RDP session and then disconnected, when I reconnected I would like to resume the previous session and the app would still be running.

Yes a know I am asking for the world:)

What will happen in six months, we cannot know, what we can know is what we can do today.

I am thinking that you can achieve this using auto login.

This will create the session and you can easily connect to the running session.

Look into System Settings → Session

I found a lengthy thread on Gnome from early 2024 - discussing technical considerations et.al.

Well, Plasma 6.8 is projected to appear only as so as 2027, so six months aren’t going to make much of a difference. But eventually you — and everyone still holding onto X11 in Plasma — are going to have to make the switch. It’s inevitable. :man_shrugging: