I upgraded from 18.04.4 LTS to 20.04 and now my xfce VNC environment is broken. There are no title or command bars (Close, Maximize, Minimize) on windows any longer. Only the menu bar (File, Edit, View, etc.)
This is my ~/.vnc/xstartup
:
#!/bin/sh
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
Fix to make GNOME and GTK stuff work
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec /etc/X11/xinit/xinitrc
xrdb $HOME/.Xresources
xsetroot -solid grey
xfce4-session &
before Ubuntu 18.04:
gnome-settings-daemon &
Ubuntu 18.04 and later:
/usr/lib/gnome-settings-daemon/gsd-xsettings &
And here is a screenshot of what it looks like. You can see the launcher appears to be cut thinner on the top and bottom as if a border is missing.