https://bugs.kde.org/show_bug.cgi?id=451086
--- Comment #6 from Henrik Harmsen <hen...@harmsen.se> --- Some more troubleshooting information. My previous comment should be ignored because that was due to another problem which got fixed in krfb: "pw" plugin does not work at all in X11 so that is why it did not work. krfb now no longer enables "pw" under X11 anymore. However, I set up a KDE wayland desktop (in a VM) and I am now using that for troubleshooting. Using the "pw" plugin here, I get two different outcomes: 1. If "Portal" pops up a window asking what to share (as described in https://bugs.kde.org/show_bug.cgi?id=458191) then I can semi-successfully connect to krfb from VNC. However the client window has changed everything that is blue into yellow. Seems RGB got mixed up somewhere. This is the first time krfb has ever worked in any fashion on Wayland for me. So semi-success there. 2. If I restart krfb rather quickly, then "Portal" does not pop up a window asking what to share (maybe the answer is cached) and then I get the failure mode described here with the invalid window sizes. I don't even know what Portal is yet though. I'm attaching here a printout from krfb in the two modes described above. By the way I am using Kubuntu 22.10 for my testing, probably it doesn't matter. 1. ################################################################################ kdesrc-run Module: krfb Program: krfb Revision: b740b6518eef498e184a3ccfafc3ba854748531e Arguments: ################################################################################ krfb.krfb: Loaded plugin with name "pw" Initializing D-Bus connectivity with XDG Desktop Portal DBus session created: "/org/freedesktop/portal/desktop/request/1_63/krfb718875647" krfb.krfb: Using FrameBuffer: "pw" krfb.krfb: Starting server. Listen port: 5902 Listen Address: "0.0.0.0" Password enabled: true 16/02/2023 16:32:02 Listening for VNC connections on TCP port 5902 16/02/2023 16:32:02 Listening for VNC connections on TCP6 port 5902 kpipewire_logging: Failed to query DMA-BUF formats. 16/02/2023 16:32:39 Got connection from client 192.168.122.1 16/02/2023 16:32:39 0 other clients 16/02/2023 16:32:39 Normal socket connection 16/02/2023 16:32:39 Client Protocol Version 3.8 16/02/2023 16:32:39 Protocol version sent 3.8, using 3.8 16/02/2023 16:32:39 rfbProcessClientSecurityType: executing handler for type 2 krfb.krfb: about to start authentication krfb.krfb: Loaded plugin with name "xdp" krfb.krfb: Loaded plugin with name "x11" 16/02/2023 16:32:43 Pixel format for client 192.168.122.1: 16/02/2023 16:32:43 32 bpp, depth 24, little endian 16/02/2023 16:32:43 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5664) 16/02/2023 16:32:43 Enabling full-color cursor updates for client 192.168.122.1 16/02/2023 16:32:43 Enabling X-style cursor updates for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5666) 16/02/2023 16:32:43 Enabling NewFBSize protocol extension for client 192.168.122.1 16/02/2023 16:32:43 Enabling ExtDesktopSize protocol extension for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFECD) 16/02/2023 16:32:43 Enabling LastRect protocol extension for client 192.168.122.1 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC7) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC8) 16/02/2023 16:32:43 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE) 16/02/2023 16:32:43 Using compression level 2 for client 192.168.122.1 16/02/2023 16:32:43 Using image quality level 8 for client 192.168.122.1 16/02/2023 16:32:43 Using JPEG subsampling 0, Q92 for client 192.168.122.1 16/02/2023 16:32:43 Using tight encoding for client 192.168.122.1 16/02/2023 16:32:43 Sending rfbEncodingExtDesktopSize for size (1920x1080) 16/02/2023 16:33:34 Client 192.168.122.1 gone 16/02/2023 16:33:34 Statistics events Transmit/ RawEquiv ( saved) 16/02/2023 16:33:34 FramebufferUpdate : 355 | 0/ 0 ( 0,0%) 16/02/2023 16:33:34 LastRect : 355 | 4260/ 4260 ( 0,0%) 16/02/2023 16:33:34 tight : 48172 | 173806190/-1354123816 ( 0,0%) 16/02/2023 16:33:34 RichCursor : 1 | 1525/ 1525 ( 0,0%) 16/02/2023 16:33:34 ExtendedDesktopSize : 1 | 32/ 32 ( 0,0%) 16/02/2023 16:33:34 TOTALS : 48884 | 173812007/-1354117999 ( 0,0%) 16/02/2023 16:33:34 Statistics events Received/ RawEquiv ( saved) 16/02/2023 16:33:34 PointerEvent : 319 | 1914/ 1914 ( 0,0%) 16/02/2023 16:33:34 FramebufferUpdate : 357 | 3570/ 3570 ( 0,0%) 16/02/2023 16:33:34 SetEncodings : 1 | 92/ 92 ( 0,0%) 16/02/2023 16:33:34 SetPixelFormat : 1 | 20/ 20 ( 0,0%) 16/02/2023 16:33:34 TOTALS : 678 | 5596/ 5596 ( 0,0%) 2. ################################################################################ kdesrc-run Module: krfb Program: krfb Revision: b740b6518eef498e184a3ccfafc3ba854748531e Arguments: ################################################################################ krfb.krfb: Loaded plugin with name "pw" Initializing D-Bus connectivity with XDG Desktop Portal DBus session created: "/org/freedesktop/portal/desktop/request/1_67/krfb2759804091" krfb.krfb: Using FrameBuffer: "pw" krfb.krfb: Starting server. Listen port: 5902 Listen Address: "0.0.0.0" Password enabled: true 16/02/2023 16:33:55 Listening for VNC connections on TCP port 5902 16/02/2023 16:33:55 Listening for VNC connections on TCP6 port 5902 16/02/2023 16:34:06 Got connection from client 192.168.122.1 16/02/2023 16:34:06 0 other clients 16/02/2023 16:34:06 Normal socket connection 16/02/2023 16:34:06 Client Protocol Version 3.8 16/02/2023 16:34:06 Protocol version sent 3.8, using 3.8 16/02/2023 16:34:06 rfbProcessClientSecurityType: executing handler for type 2 krfb.krfb: about to start authentication krfb.krfb: Loaded plugin with name "xdp" krfb.krfb: Loaded plugin with name "x11" 16/02/2023 16:34:08 Client 192.168.122.1 gone 16/02/2023 16:34:08 Statistics events Transmit/ RawEquiv ( saved) 16/02/2023 16:34:08 TOTALS : 0 | 0/ 0 ( 0,0%) 16/02/2023 16:34:08 Statistics events Received/ RawEquiv ( saved) 16/02/2023 16:34:08 TOTALS : 0 | 0/ -- You are receiving this mail because: You are watching all bug changes.