Covid-19 makes us do crazy things. Work from home for example. I hade some trouble configuring VNC.
Especiall the VNC server config turned out to be very tricky, when it comes to the window manager. I usually use gnome. It took me hours to figure out how to start gnome from a vnc session.
This is how my xstartup script currently looks like:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
xsetroot -solid grey
#export XKL_XMODMAP_DISABLE=1
if [ -x /etc/vnc/xstartup ] ; then
    exec /etc/vnc/xstartup
fi
xrdb $HOME/.Xresources
vncconfig -iconic &
#dbus-launch --exit-with-session gnome-session &
exec startxfce4