VNC vncserver and tigervnc

First, use yum to install the server service:

yum install tigervnc-server 

Then, edit the servers file:

vi /etc/sysconfig/vncservers

Edit this:

# VNCSERVERS="2:myusername"

# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost" 

To look like this:


VNCSERVERARGS[1]="-geometry 1024x768 -depth 16" 

Now set a password for "root" to use VNC:


And finally, start TigerVNC:

service vncserver start 

You can now connect using a VNC viewer using