twitter
    Find out what I'm doing, Follow Me :)

Thursday, February 10, 2011

Setup VNC Server on CentOS


  1. yum install vncserver 
  2. vi /etc/sysconfig/vncservers
  3. VNCSERVERS="1:tiger 2:albatros 3:leopard"                                      VNCSERVERARGS[1]="-geometry 1024x768 -depth 16"                                      VNCSERVERARGS[2]="-geometry 800x600 -depth 8"                                      VNCSERVERARGS[3]="-geometry 1024x768 -depth 16"
    3.  vncpasswd tiger
    4.  vi /home/tiger/.vnc/xstartup (uncomment below line)
         unset SESSION_MANAGER
         exec /etc/X11/xinit/xinitrc
    5. /etc/init.d/vncserver start

    No comments: