Friday, 27 January 2012

VNC Gnome Desktop

My Normal Colour desktop with Icon

vi  .vnc/xstartup


# Uncomment the following two lines for normal desktop with icon:
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

# normal Grey desktop
#twm &

# add following line for normal colour desktop with icon
startx &

No comments: