How-To: A proper RDP experience on KDE Plasma / CachyOS (Late 2026)
I wanted to replicate one of the things I actually like about Windows: Remote Desktop. I want to get up from my workstation, go somewhere else, and reconnect to my existing desktop session with all my programs open (ideally with hardware-accelerated video compression). This kind of desired-user-experience bleeds through in all my content going back many years – most recently with the Phone-as-a-nas-accessory video.
Think of it as… machine-managed workspace management. I want the ability to put down a project (which can have dozens of programs and windows open arranged just so) and pick it up later with almost zero friction.
Mostly I’ve been working this way with ssh and tmux and vim and.. it’s not pretty. Remote Desktop as a way to work that way in VMs had also become a time-saving crutch for me, too. The problem was the bridge between Real and Virtual machines. The aspect I liked most of windows RDP was switching between Real and Remote in a fairly stable and consistent way (windows seems to experience some type of resource exhaustion when you swap between remote and local about 10 times.. at least with the number and complexity of windows I tend to have have open working through a project…). Krdp is so close and I am so excited by the progress I’ve seen as of October 2026 and beyond.
I sort of enjoy the modern KDE Plasma Wayland desktop experience, too, so I’d like to not give that up. And VNC feels unresponsive and janky. Hardware accelerated RDP just feels better (and this isn’t the first, or only, way to reach that).
The October 2026 release of Plasma 6.8 is surprisingly close to ticking all the boxes, especially with November bugfixes. KDE’s native RDP server (KRdp) has improved considerably, particularly now with exclusive mode…
1. Install KRdp
On CachyOS, Arch, or another sufficiently up-to-date Arch derivative:
sudo pacman -Syu krdp
You don’t need xrdp, an X11 session, a separate desktop environment, or a third-party repository.
KRdp integrates with KWin, PipeWire and the existing Wayland desktop session.
You might have to setup KDE to auto-login. There seems to still be a gap where when rebooting you can’t init the KDE session starting from remote.
2. Configure KDE Remote Desktop
Open System Settings > Security & Privacy > Remote Desktop.
- Enable the RDP server.
- Enable automatic startup.
- Enable exclusive mode.
- Enable locking when the last remote client disconnects, if desired.
- Configure authentication. You can use your existing Linux user account or configure separate RDP credentials.
The default port is TCP 3389.
You can also manage the service from the command line, as your desktop user:
systemctl --user enable --now app-org.kde.krdpserver.service
Check that it’s running:
systemctl --user status app-org.kde.krdpserver.service
Exclusive mode is new and instead of simply mirroring your physical displays, KDE can create a virtual display appropriate for the remote client and prevent someone sitting at the physical workstation from interacting with your session. Just like Windows! Well, almost…
Your applications are still running in your existing, GPU-accelerated Wayland desktop session. KDE can also restore your local window positions when you return to your workstation (mostly, it’s a bit buggy in some scenarios, especially multi-monitor).
3. A note about the Windows RDP client
The Windows RDP client is picky about credentials with this implementation. This is actually probably something the KDE folks need to fix because it looks like something is broken on Linux, and this is where Linux can be mysteriously broken.
You MUST check Allow me to save credentials, and the client must supply both the correct username and password on the initial connection. Otherwise it looks like you get an RDP connection, then it dies. If this isn’t your first RDP rodeo on linux, it seems like what’s happening is the OLD “x-tyle” connect-and-have-a-gui-login-box is expected to happen where you put in your credentials, but that’s much less secure than connection-level security and the login box never renders… which leads to immediate disconnect.
What happens is that KRdp accepts the RDP connection, negotiates the session, checks the credentials and immediately disconnects you if they’re wrong or missing. Windows doesn’t seem to understand what to do with this particular failure mode.
^ In this Krdp scenario that error actually means ‘bad username or password, or I can’t give you an RDP session as that user’
You might also want to check Remember me when supplying those credentials depending on your preferences.
From the user’s perspective, the connection appears to work and then immediately fails with very little useful information.
Again, to be clear, I think this is incorrect behavior on the KDE side, or at least a poorly handled interoperability problem. Authentication failure should result in something actionable for the user. The KDE project does document that NLA isn’t supported when authenticating against the system user in this configuration but NLA is a whole suite of things beyond just this one user/password aspect (where you can go beyond this to verifying trusted client / trusted server with TLS certs but.. I’m not asking for that… yet…).
Even with this wrinkle, the October 2026 implementation is a vast improvement over what we’ve had in the past. Don’t let this particular quirk send you down a rabbit hole debugging Wayland, PipeWire, GPU drivers, PAM, etc.
4. Connecting from Linux with Remmina
Remmina is probably the best general-purpose native Linux RDP client for this, particularly if you want to maintain a collection of remote desktop connections.
From another linux box you want to connect to this one
sudo pacman -S --needed remmina freerdp
Create a new connection profile:
- Protocol: RDP
- Server: The hostname or IP address of your KDE workstation
- Username: Your Linux username or configured KRdp username
- Password: Your corresponding password
- Resolution: Use client resolution
- Color depth: Prefer an H.264/AVC graphics mode where available
- Security protocol: Negotiate (try TLS explicitly if you encounter problems with system-user authentication)
Enable dynamic resolution updates if available in your version of Remmina. Combined with exclusive mode on the KDE side, resizing your remote desktop window should resize the actual virtual desktop rather than simply scaling the image.
Remmina uses FreeRDP underneath, so if you’re having trouble with Remmina, you can also eliminate the GUI frontend from the equation:
xfreerdp3 /v:cachyconf /u:w /sec:tls /dynamic-resolution /gfx:AVC420
Substitute your hostname and username. FreeRDP is used under the hood here, and its code gets re-used a lot in different clients. While it is also available as wlfreerdp for native Wayland operation, I had some trouble with it doing hardware accelerated decode. It’s on my TODO list to test some more configurations; see also comments below for user experiences.
5. Hardware-accelerated compression
There are two independent things to consider here:
- GPU acceleration of the actual desktop and applications.
- Hardware video encoding of the desktop for transmission over RDP.
The former is inherent in using your existing Wayland session. The latter is handled by KDE’s KPipeWire infrastructure.
I do not want to go on living when I’m forced to endure a graphical connection that is not hardware accelerated; it’s that bad. So what I’m saying is that it’s worth the effort to put in the extra effort to make sure you’re experiencing the good part of life, here.
KRdp can automatically use VA-API hardware-accelerated H.264 encoding when supported by the hardware and driver. You shouldn’t need to configure a separate encoder or compile a special version of KRdp (he says, having experienced that kind of thing in the past…).
AMD Radeon and Intel graphics generally, for me, seem to Just Work in 2026. NVIDIA users should not assume that native NVENC encoding is supported by the stock KDE implementation, though.
On Arch/CachyOS, install the VA-API diagnostic utility:
sudo pacman -S --needed libva-utils
For AMD graphics, the relevant Mesa VA-API driver is normally already present. For modern Intel graphics, make sure you have the appropriate media driver:
sudo pacman -S --needed intel-media-driver
Check your hardware capabilities:
vainfo
Look for something along these lines:
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSlice
VAEntrypointEncSliceLP is another possible hardware encoding entry point. VAEntrypointVLD is hardware decoding, which isn’t what we’re looking for on the server.
While connected via RDP, check the service log:
journalctl --user -u app-org.kde.krdpserver.service -b \
--no-pager | grep -Ei 'vaapi|h264|libx264|encoder'
You want to see evidence of the VA-API encoder being used without subsequent initialization errors. If you see libx264 being initialized instead, that’s software encoding.
Note that vainfo only tells you what the hardware is capable of, not what KRdp is actually doing under the hood. If you enable debug mode (see below) you can see things like:
Nov 28 16:10:56 cachyconf krdpserver[434252]: [AVHWFramesContext @ 0x7f1cb004d6c0] Map DRM object 73 to VAAPI as 58524742.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [hwmap @ 0x7f1cb0045c40] Filter output: vaapi, 3840x2160 (275596255).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Filter input: vaapi, 3840x2160 (275596255).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Mapped colour properties unknown gbr/unknown/unknown unspecified to VA standard 13 chroma siting 0 range 0.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Mapped colour properties pc unknown/unknown/unknown unspecified to VA standard 13 chroma siting 0 range 0x2.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Filter frame from surface 0xb to 0x2.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Pipeline parameter buffer is 0xc.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [Parsed_scale_vaapi_1 @ 0x7f1cb00460c0] Filter output: vaapi, 3840x2160 (275596255), mode: FAST.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Input frame: 3840x2160 (275596255).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Pick normal P-picture to encode next.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Issuing encode for pic 11095/11095 as type P.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] L0 refers to 11094/11094.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Input surface is 0x2.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Recon surface is 0xa.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Output buffer is 0x7.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Param buffer (23) is 0xb.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Slice 0: 0-134 (135 rows), 0-32399 (32400 blocks).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Default RefPicList0 for fn=95/poc=190: fn=94/poc=188
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Packed header buffer (3) is 0xc/0xd (64 bits).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Param buffer (24) is 0xe.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Sync to pic 11095/11095 (input surface 0x2).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Output buffer: 2791 bytes (status 00000000).
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Output read for pic 11095/11095.
Nov 28 16:10:56 cachyconf krdpserver[434252]: [h264_vaapi @ 0x7f1cb011f140] Output packet: pts 275596255, dts 275596255, size 2791 bytes.
There is nothing else inherently required to enable hardware acceleration here; the encoder selection is supposed to be automatic at thispoint on modern distros. It is worth verifying on your particular hardware, though, because the QoL improvement is off the scale. Especially given the number of KPipeWire encoding fixes over the last few Plasma releases…
6. Troubleshooting
Check the installed software versions
Arch-based distributions move quickly, and there have been a number of fixes to KRdp in recent Plasma point releases.
pacman -Q krdp freerdp kwin kpipewire plasma-workspace
Make sure the system is fully updated rather than mixing versions of the Plasma components.
Check the service and listening port
systemctl --user status app-org.kde.krdpserver.service
ss -ltnp | grep 3389
Watch the logs in real time
journalctl --user -u app-org.kde.krdpserver.service -f
You can do this over SSH as the same user running the Plasma desktop session.
If you get something like this:
New client connected: Windows platform Windows NT
[ERROR][com.freerdp.api] - [rdp_peer_handle_state_active]:
PostConnect for peer ... failed
[ERROR][com.freerdp.core.transport] -
transport->ReceiveCallback() - STATE_RUN_FAILED [-1]
Check the credentials FIRST. It’s almost certainly that RDP rough edge I’ve called out above…
While working on this guide, I was looking at the current KRdp source code and the onPostConnect() callback is where authentication is performed. So these messages do not necessarily indicate a networking or graphics problem.
Enable verbose debugging
KRdp is a Qt application using FreeRDP, so there are two different logging systems that are useful to us.
Create a systemd user service override:
systemctl --user edit app-org.kde.krdpserver.service
Add:
[Service]
Environment="QT_LOGGING_RULES=*.debug=true"
Environment="QT_MESSAGE_PATTERN=[%{type}] %{category}: %{message}"
Environment="WLOG_LEVEL=DEBUG"
Reload and restart:
systemctl --user daemon-reload
systemctl --user restart app-org.kde.krdpserver.service
Watch the output:
journalctl --user -u app-org.kde.krdpserver.service -f -o cat
This is considerably more useful than the default logging: You can see the RDP connection progressing through the various stages of negotiation, as well as KDE-specific messages.
In my case, TLS negotiation, channel establishment, capability negotiation and session finalization were all proceeding normally. In reality it was the authentication check at the end that failed and killed the connection.
If the FreeRDP protocol logging is overwhelming the KDE-specific messages, change WLOG_LEVEL to WARN and restart the service again.
Check system-user authentication and PAM
There have been bugs involving KRdp’s systemd service hardening preventing PAM authentication from working correctly, too. That one caught me just a couple weeks ago when I started on this project!
Check the effective service configuration:
systemctl --user show app-org.kde.krdpserver.service \
-p NoNewPrivileges -p MainPID
Also check the actual running process:
grep NoNewPrivs /proc/$(pgrep -n krdpserver)/status
On my up-to-date CachyOS installation, these correctly reported:
NoNewPrivileges=no
NoNewPrivs: 0
You can also test PAM independently:
pamtester login "$(whoami)" authenticate acct_mgmt
Run the actual authentication test as your normal user, not root. This tests the general PAM login stack; it doesn’t necessarily reproduce KRdp’s exact service configuration.
Check for account lockouts and other PAM failures:
sudo faillock --user "$(whoami)"
sudo journalctl -b | grep -Ei 'pam_|unix_chkpwd|faillock'
Check the configuration and session environment
cat ~/.config/krdpserverrc
systemctl --user cat app-org.kde.krdpserver.service
systemctl --user show-environment | grep -E 'WAYLAND|DISPLAY|XDG'
If you’re still having problems, try disabling system-user authentication and configuring explicit RDP credentials. This helps isolate PAM from the rest of the authentication mechanism.
Similarly, temporarily disabling exclusive mode can help isolate issues with virtual displays and physical display handoff.
Run KRdp outside systemd
If you suspect something about the systemd service environment or sandboxing, stop the service:
systemctl --user stop app-org.kde.krdpserver.service
Then, preferably from Konsole within the actual Plasma desktop session:
QT_LOGGING_RULES='*.debug=true' \
WLOG_LEVEL=DEBUG \
krdpserver
This lets you observe the output directly. Ctrl+C to stop it when you’re done, then start the regular service again. We shan’t tell the maintainers I ran this way in production for a while before fixing it… wink
Turn debugging back off
Assuming the only reason you created a systemd override was to enable debugging:
systemctl --user revert app-org.kde.krdpserver.service
systemctl --user daemon-reload
systemctl --user restart app-org.kde.krdpserver.service
Verify:
systemctl --user show app-org.kde.krdpserver.service -p Environment
Be aware that systemctl revert removes other local service overrides too, if you’ve made any. In that case, just edit the override and remove the debugging environment variables. You should turn this off as it is quite verbose and your logs will baloon to many gigabytes, or if you have log rotation, you’ll get constant log rotation and may squelch other inportant messages as a result of the rotations.
Related bug reports and resources
Some of these are fixed in recent releases; others document limitations or behavior you may still encounter. They’re worth checking before spending too much time debugging. This list may be updated as we try to keep this How-to durable for the future…
- KRdp bug #512439 — Disconnects immediately after connection
- KRdp bug #527156 — Exclusive mode and multiple monitors
- KRdp bug #527255 — Exclusive mode does not return control to the main monitor after disconnect
- KRdp bug #500276 — No image with certain FreeRDP/Remmina builds
- KPipeWire bug #525050 — VA-API hardware encoder filter initialization
- KPipeWire bug #526931 — Related H.264 compatibility issues
- KDE Discuss — KRdp Windows client troubleshooting
- KRdp source code and documentation
- David Edmundson — What’s happening in KDE Remote Desktop
Final thoughts
This is one of those quiet but insanely (imho) significant improvements to the Linux desktop. Especially because it allows me to better map projects to machines (or VMs) and save and restore “project state” to lower friction for myself switching gears.
Being able to move between a physical workstation and a remote session, or between different physical stations while maintaining project state, with hardware accelerated low latency graphics, is a pretty big deal.
It’s especially nice that this doesn’t require giving up Wayland, running a separate X11 desktop, or resorting to something like VNC.
For remote access outside your LAN, I’d put this behind WireGuard or another private network rather than exposing TCP 3389 directly to the internet. UDP tunneling there for lowest latency.. but that’s a how-to for another day.
One last quirk: You have to close the RDP connection if you want to re-attach locally. That functionality can also be buggy and they are intermittent reattachment bugs. Leave home and forget to detach? I usually null route the home IP for a while until it disconnects but uh… maybe we should allow local login to terminate? Otherwise you get a fresh desktop. Sometimes you can get a detached fresh desktop where popups spawn.. I think mostly that’s fixed now with the last set of updates on KDE on arch ((November 21 2026) though…




