Created attachment 9744 screenshot of vnc session When using Xfwm4 with VNC, the decorations are not drawn. Xfwm4 has seemingly not crashed, and the space for the window titlebar is reserved. A screenshot is attached. Xfwm4 version 4.14.1, tightvncserver 1.3.10 ~/.vnc/xstartup: #!/bin/bash xrdb $HOME/.Xresources unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS startxfce4 & Xfwm log: (xfwm4:31976): xfwm4-WARNING **: 10:16:58.767: XSync extension too old (3.0). (xfwm4:31976): xfwm4-WARNING **: 10:16:58.767: The display does not support the XRender extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.767: The display does not support the XRandr extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.769: The display does not support the XComposite extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.769: The display does not support the XDamage extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.769: The display does not support the XFixes extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.769: The display does not support the XPresent extension. (xfwm4:31976): xfwm4-WARNING **: 10:16:58.769: Compositing manager disabled. Waiting for current window manager (Xfwm4) on screen :1.0 to exit: Done xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>d' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>Tab' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>Down' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>Left' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>Right' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>Up' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>KP_1' xfwm4-Message: 10:16:59.004: Unsupported keyboard modifier '<Super>KP_3' xfwm4-Message: 10:16:59.005: Unsupported keyboard modifier '<Super>KP_7' xfwm4-Message: 10:16:59.005: Unsupported keyboard modifier '<Super>KP_9' (xfwm4:31976): xfwm4-WARNING **: 10:16:59.018: Cannot find visual format on screen 0
Does `xfwm4 --replace --compositor=off` work?
FWIW it works just fine on tigervnc on Fedora 32.
It also doesn't work with the above command. I'll give Fedora 32 a go to see if that helps the situation for me.
tigervnc, rather. FWIW, I tried with 24 and 16 bpp, with and without the composite extension enabled and it worked fine in all cases. You may also check (or post) the output of `xdpyinfo` on that server.
Actually, the problem is the lack of XRender support in the tightvncserver Xserver. xfwm4 is capable of running without XRender, but for some reason the mask of the pixmap end up being empty and therefore the pixmaps are all transparent. Disabling XRender *and* XShape would work. But most gtk apps are not rendering well either in that setup so I am not sure that would take us very far.
I believe this is a bug in gdk_pixbuf_get_pixels() which does not work without Render. Not a bug in xfwm4.
Oh, I think I know...
Olivier Fourdan referenced this bugreport in commit 7bd23e3f2a0b63f6501bf6867468a232577bd9ec pixmap: Fix rendering without XRender https://git.xfce.org/xfce/xfwm4/commit?id=7bd23e3f2a0b63f6501bf6867468a232577bd9ec
That looks like it's probably it. :-) I'll test it out today.
It fixes the issue with the lack of XRender in the server and '--compositor=off', but there's some more fixes needed with the compositor (or, rather, not using it).
Olivier Fourdan referenced this bugreport in commit 2c78273d35abc60af697b571713809b00b40ce38 main: Don't use the compositor if not available https://git.xfce.org/xfce/xfwm4/commit?id=2c78273d35abc60af697b571713809b00b40ce38
Olivier Fourdan referenced this bugreport in commit f5bd7b83a41ca696a46eeba216063bce53411dca pixmap: Fix rendering without XRender https://gitlab.xfce.org/xfce/xfwm4/commit/f5bd7b83a41ca696a46eeba216063bce53411dca
Olivier Fourdan referenced this bugreport in commit 124744bc834b7188eca87a675a3e4227ebb5fa82 main: Don't use the compositor if not available https://gitlab.xfce.org/xfce/xfwm4/commit/124744bc834b7188eca87a675a3e4227ebb5fa82