RDP from Windows 11 Pro to Kubuntu 26.04 Does not work

Ubuntu Version

Ubuntu 26.04 LTS Flavors

Desktop Environment (if applicable)

KDE Plasma

Problem Description

Unable to RDP from windows to Kubuntu 26.04 with KRDP installed.

What I’ve Tried

I had someone compile KRDP and I was able to connect to that linux box directly from windows.
I installed KDE Neon into a VM, and KRDP worked.
Then I installed Ubuntu - gnome, and RDP worked.
I tried the following Kubuntu Versions from Canonical: Kubuntu Studio 26.04, Kubuntu 26.10, and Kubuntu 26.04 and installed KRDP onto all of them, and none of them worked.
When installing krdp, I did the following command: sudp apt install krdp
All of these were in a Virtual machine, and I made sure the VM had bridged networking in virtualbox so the VMs would adopt the local networks IP addresses.
Something that canonical is doing when packaging kubuntu and KRDP is messing things up.

How do I report this as a Bug in the OS that needs to get fixed?

Run ubuntu-bug krdp on one of the Kubuntu 26.04 VMs. It collects the package version and system details and opens a Launchpad bug report against krdp, which you finish in the browser with a Launchpad account.

Before you file it, make one failed connection attempt from Windows, then collect the KRDP lines from that session on the Kubuntu VM and paste them into the report:

journalctl --user -b --since "10 min ago" | grep -i krdp

On the Windows PC, open Microsoft-Windows-TerminalServices-RDPClient/Operational in Event Viewer and add the event 1026 disconnect reason from the same attempt.

Also add the output of apt policy krdp and the KRDP version that worked on KDE Neon.

Drafted with AI.

Have you configured a firewall on the offending server? If so, check you allowed the RDP traffic in and out (TCP/3389)

UFW is turned off. And since all traffic is local, I do not need to worry about ports on the router. Thanks for the advice, I will do what you suggested for a bug report.

If I was a company and relied heavily on RDP for Linux Kubuntu desktop users, and go with a different company. Unless they could guarantee a fix was imminent.

Can you hit the port from Windows? You can use Test-NetConnection in PowerShell to ensure you can hit the socket and that it’s listening

Thanks for offering to help, but I do not need to do all this troubleshooting.

RDPing from Windows 11 to KDE Neon with krdp installed worked out of the box.

RDPing from Windows 11 to pure Debian with kde and krdp installed worked out of the box.

RDPing from Windows 11 to Kubuntu 26.04 did not work. Someone smarter than me manually compiled krdp for that system, and then rdping from windows 11 worked, after KRDP was manually recompiled from scratch. I gave them access and they were able to remote in to do all kinds of troubleshooting.

RDPing from Windows 11 to Ubuntu with Gnome installed worked. This means there is a problem with Kubuntu and Kubuntu studio. I even installed Kubuntu 26.10 and RDPing from Windows 11 to 26.10 did not work.

All of these linux installs were done inside of Virtualmachines on Virtual box on Windows 11 Pro. I did not make any changes to any system. I installed updates directly from Canonical, and then installed KRDP if it was not included in install. And it either worked or it did not.

Since it is all local on the machine, I do not need to worry about port opening or firewalls. I could see krdp start to load in the gui of the VM as messages came up about krdp, but the connection never fully happened. It just kept asking me for my user name and password.

This means the way Canonical compiles KDE or what ever they are doing to the linux Kernel, is a bug and needs to be fixed, or it is how they are packaging/compiling krdp itself when it is installed.

In kde 6.8, I believe KRDP will be included automatically, so things will hopefully work better when that release comes out. Though it will be awhile before we see kDE 6.8 as I am not sure how long it will take canonical to roll that out to us peasants.

details in: Bug #2163061 [SRU] Fix krdp on wayland - requires libh264

tldr: You need to install libh264.

sudo apt install libopenh264-8