cat cd ~/.vnc/xstartup
#!/bin/sh
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#startkde &
exec gnome-session &
Start the vncserver with the following ,
vncserver -depth 16 -geometry 800x600
Create an alias in $HOME/.bash_profile
alias startvnc='vncserver -depth 16 -geometry 800x600'