Here is the solution:
vncconfig -nowin &step to kill a running vncserver:
done...
vi ~/.vnc/xstartup
>>> vncconfig -nowin &
restart the linux machine...
cat ~/.vnc/hostname.4.pid
vncserver -kill :4
done...
reference:
http://linux.die.net/man/1/vncconfig
http://www.realvnc.com/products/free/4.1/man/vncserver.html
No comments:
Post a Comment