Bug 513340

Summary: krdp server crashes immediately after successful client connection/authentication attempt in Plasma Wayland session (Error 0x204).
Product: [Plasma] kwin Reporter: kinri <m.okada0811>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: NEEDSINFO WAITINGFORINFO    
Severity: crash CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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?