Wednesday, April 4, 2012

VNCserver graphics problem [Solved]

VNCserver graphics problem [Solved]


1- Kill exsisting session of vnc
   vncserver -kill :<port>

2- vi .vnc/xstartup
--Follow the following convention uncomment lines having *
-- Here * is used for highlighting purpose.
#!/bin/sh
# Uncomment the following two lines for normal desktop:
* unset SESSION_MANAGER
* 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" &
#twm &

3- Start a new vnc session
     vncserver


Your feedback/comment is quite important for improving this blog so feel free to leave your comments & suggestions

1 comments: