Instructions on VNC installation on centos6.5
If the VNCServer is not installed, you can connect to it through VNC only after logging on to the desktop on the machine. Otherwise, the connection will not be connected...
Installation:
Yuminstalltigervnc-server
Run and set the password:
Vncserver
Set vnc access password:
Vncpasswd
Here is the password for the above root remote user, so it should be configured under the root account; and so on, it is necessary to set a password for another account.
Edit the vnc startup graphic interface file
Vi/root/. vnc/xstartup
Comment out the last line of twm & and then add a line of content.
Gnome-session &
Save and exit
Edit another vnc configuration file.
Vi/etc/sysconfig/vncservers
Modify the last two rows as follows:
VNCSERVERS = "1: root2: root" VNCSERVERARGS [2] = "-geometry800x600-nolistentcp-localhost"
Save and exit