VNC xstartup for XFCE

$ cat .vnc/xstartup

#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
export PATH=$PATH:/localdisk/programs/xfce/bin:/localdisk/programs/xfce/sbin
export LD_LIBRARY_PATH=/localdisk/programs/xfce/lib
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
vncconfig -iconic&
startxfce4 &

No comments: