How to make xfce to start automatically on vnc session

Edit ~/.vnc/xstartup file and add the following:

#!/bin/sh
exec /bin/sh /etc/xdg/xfce4/xinitrc
This entry was posted in Linux.