sneaky4oe icon

KRFB Fix Black Screen Kubuntu 26.04, Protocol error: bad desktop size 0x0

sneaky4oe | PRO | 07/17/26 12:57:31 PM UTC (Edited) | 0 ⭐ | 596 👁️ | Never ⏰ | [kde, rdp, Remote Desktop, KDE Plasma, vnc, black screen, KRFB]
Markdown |

16.6 KB

|

Fixit

|

0 👍

/

0 👎

Portal consent is never granted. The RemoteDesktop portal shows an interactive
"Remote Control Requested" dialog on every fresh session. With no one at the physical
console to click "Share", no screencast stream is created → black screen.
DMA-BUF frame download fails on the negotiated Intel-tiled modifier. Even after the
portal consent is bypassed, KPipeWire negotiates a DMA-BUF format with an Intel tiled
modifier that KRFB's DmaBufHandler cannot download → KRFB receives empty (cursor-only)
buffers → still black screen (or bad desktop size 0x0).
Red/blue colour swap. Once frames finally flow, KRFB's PWFrameBuffer doesn't set
the R/G/B bit shifts in the VNC pixel format, so libvncserver defaults to RGB byte order
while PipeWire delivers BGRx → red and blue are swapped on the client.

Comments

  • sneaky4oe icon
    sneaky4oe PRO
    07/17/26 12:58:50 PM UTC
    text |

    0 B

    |

    0 👍

    /

    0 👎

    As always, verify code before running. And don't trust spammers in comments - they've been super active in my pastes recently for some reason.