Bug 513340 - krdp server crashes immediately after successful client connection/authentication attempt in Plasma Wayland session (Error 0x204).
Summary: krdp server crashes immediately after successful client connection/authentica...
Status: NEEDSINFO WAITINGFORINFO
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.4.5
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-14 04:59 UTC by kinri
Modified: 2025-12-15 12:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kinri 2025-12-14 04:59:09 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
krdp server crashes immediately after successful client connection/authentication attempt in Plasma Wayland session (Error 0x204).

STEPS TO REPRODUCE
1. Ensure 'krdp' (Remote Desktop) server is enabled in System Settings.
2. Ensure port 3389/tcp is allowed in UFW firewall (Confirmed UFW is active and 3389/tcp is allowed).
3. Attempt to connect using a standard RDP client (e.g., Microsoft Remote Desktop on iPhone, or KRDC on Kubuntu itself).

OBSERVED RESULT
The Kubuntu server shows a connection notification, but the RDP client immediately crashes/disconnects (Error code 0x204 often seen on Microsoft clients).
The issue persists when using both MS RDP client and KRDC client.

EXPECTED RESULT
The RDP session should open and display the remote desktop without crashing.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 25.10 (Development/Pre-release)

KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
* Graphics Platform: Wayland
* Graphics Processor 1: NVIDIA GeForce RTX 2060
* Kernel Version: 6.17.0-7-generic (64-bit)
* This seems to be a stability issue related to kwin's screen capturing/encoding in the Wayland environment.
Comment 1 Zamundaaa 2025-12-15 12:30:17 UTC
(In reply to kinri from comment #0)
> * This seems to be a stability issue related to kwin's screen
> capturing/encoding in the Wayland environment.
Why do you assume that?