KRDP Connection Blackscreen Mouse Works

Hey everyone.
I am trying to make KRDP work, but am only getting a Blackscreen.
Mouse & Keyboard work though.
So, I can connect just fine, then the Window opens and i am able to move the mouse on the remote PC and interact with the Programs and use the Keyboard just fine.

I have tried changing some Variables in the Krdc Client, like Acceleration, which when not set to “Use Best Available”, does not work.
Changing Resolution and Scaling also does not change anything, though does not lead to a crash like Acceleration.

Hope someone can help me in some way. If you need more details just ask. Thanks :slight_smile:

PC: (This runs the KRDP Server)

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.10.11-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12400F
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: BIOSTAR Group
Product Name: B660GTN

Laptop: (This runs KRDC to connect to the PC)

Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics
Memory: 13,3 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82QF
System Version: Yoga 7 14ARB7

KRDP Logs:

krdpserver -u user -p test         
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
kpipewire_vaapi_logging: VAAPI: Mesa Gallium driver 24.1.7 for AMD Radeon RX 6600 XT (radeonsi, navi23, LLVM 18.1.6, DRM 3.57, 6.10.11-200.fc40.x86_64) in use for device "/dev/dri/renderD128"
kpipewire_vaapi_logging: DRM device not found
[22:12:13:834] [18705:18767] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
[22:12:13:834] [18705:18767] [INFO][com.freerdp.core.connection] - Server Security: NLA:1 TLS:0 RDP:0
[22:12:13:834] [18705:18767] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:1 TLS:0 RDP:0
[22:12:15:977] [18705:18767] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_CONTINUE_NEEDED [0x00090312]
[22:12:16:075] [18705:18767] [WARN][com.winpr.negotiate] - AcceptSecurityContext status SEC_I_COMPLETE_NEEDED [0x00090313]
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] - Accepted client: nixos
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] - Accepted channels:
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] -  rdpdr
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] -  rdpsnd
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] -  cliprdr
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.connection] -  drdynvc
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
[22:12:16:176] [18705:18767] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
org.kde.krdp: New client connected:  UNIX platform Unspecified version
kpipewire_record_logging: Hardware encoding is not supported on this device.
[libx264 @ 0x7f5a8877c980] -qscale is ignored, -crf is recommended.
[libx264 @ 0x7f5a8877c980] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f5a8877c980] profile Constrained Baseline, level 6.2, 4:2:0, 8-bit
kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QApplication(0x7ffcf2cc6650), parent's thread is QThread(0x56274af48b70), current thread is QThread(0x7f5a9c036840)
[22:12:20:894] [18705:18767] [ERROR][com.freerdp.core.transport] - BIO_read returned a system error 0: Success
[22:12:20:894] [18705:18767] [ERROR][com.freerdp.core] - transport_read_layer:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
[libx264 @ 0x7f5a8877c980] frame I:1     Avg QP:20.00  size:234023
[libx264 @ 0x7f5a8877c980] frame P:81    Avg QP:17.60  size:  2776
[libx264 @ 0x7f5a8877c980] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x7f5a8877c980] mb P  I16..4:  0.3%  0.0%  0.0%  P16..4:  3.0%  0.0%  0.0%  0.0%  0.0%    skip:96.7%
[libx264 @ 0x7f5a8877c980] coded y,uvDC,uvAC intra: 13.8% 27.3% 13.0% inter: 0.2% 2.8% 0.2%
[libx264 @ 0x7f5a8877c980] i16 v,h,dc,p: 79% 10% 11%  0%
[libx264 @ 0x7f5a8877c980] i8c dc,h,v,p: 79%  8% 12%  1%
[libx264 @ 0x7f5a8877c980] kb/s:44771.22

KRDC Logs:

krdc    
KRDC: Starting RDP session   
\[22:12:13:414\] \[102348:102348\] \[WARN\]\[com.freerdp.crypto\] - Certificate verification failure 'self-signed certificate (18)' at stack position  
0   
\[22:12:13:414\] \[102348:102348\] \[WARN\]\[com.freerdp.crypto\] - C = XX, L = Default City, O = Default Company Ltd   
\[22:12:17:782\] \[102348:102348\] \[INFO\]\[com.freerdp.gdi\] - Local framebuffer format  PIXEL_FORMAT_RGBX32   
\[22:12:17:782\] \[102348:102348\] \[INFO\]\[com.freerdp.gdi\] - Remote framebuffer format PIXEL_FORMAT_BGRA32   
\[22:12:17:792\] \[102348:102348\] \[INFO\]\[com.freerdp.channels.rdpsnd.client\] - \[static\] Loaded pulse backend for rdpsnd   
\[22:12:17:793\] \[102348:102348\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - Loading Dynamic Virtual Channel rdpsnd   
\[22:12:17:793\] \[102348:102348\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - Loading Dynamic Virtual Channel audin   
\[22:12:17:797\] \[102348:102348\] \[INFO\]\[com.freerdp.channels.audin.client\] - Loaded pulse backend for audin   
\[22:12:17:797\] \[102348:102348\] \[INFO\]\[com.freerdp.channels.drdynvc.client\] - Loading Dynamic Virtual Channel rdpgfx   
\[22:12:17:885\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 state: 0x0004 iBufferStatus: 0   
\[22:12:17:885\] \[102348:102605\] \[WARN\]\[com.freerdp.gdi\] - avc420_decompress failure: -2002, ignoring update.   
\[22:12:17:885\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:928\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:944\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:958\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:973\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:990\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0   
\[22:12:17:006\] \[102348:102605\] \[WARN\]\[com.freerdp.codec\] - DecodeFrame2 iBufferStatus: 0
this just goes on...

It turns out I didnt have all Media Codecs installed, for H264.
Now I have and it works. :slight_smile:

I’m having the same problem. I hope this fixes it.