Wednesday, May 29, 2013

How to get vnc running on Centos 6.4

  • Assume OS install is complete.
  • yum install tigervnc-* 
      This will install tigervnc server and the viewer.

  • # vi /etc/sysconfig/vncservers (Note: if this file doesn't exist you haven't installed the tigervnc-server RPM)
        Add the following line to the file:
       VNCSERVERS="1:root"

       vncpasswd (for root's VNC password)
       chkconfig vncserver on
       /etc/init.d/vncserver start

     You may also need to /etc/init.d/iptables stop. Or reconfig to allow VNC traffic.
     Start up vnc viewer, connect to the default port 5901.


Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home