Running XFCE as desktop under VNC

On the old servers with small memory, it is desirable to run XFCE as a control desktop. A simple change of the .vnc/xstartup to add xfwm4 as a window manager does not help. I managed to run everything smoothly and have the regular desktop on VNC screens with the following xstartup file:

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

The key is to allow the session manager to obtain the name through D-bus transaction.:wink:

Thank’s for the info :slight_smile: I think You should put that in the unreviewed how to’s :
Unreviewed How To and FAQ

Best regards,
Greg