Main reference documents:
Chinese: http://wiki.centos.org/zh/HowTos/VNC-Server
English: Http://wiki.centos.org/HowTos/VNC-Server
Description is very normative and comprehensive.
Record the knowledge points/points in the installation process:
1.linux is a kernel, you need to install a window administrator to get a normal image of the desktop. For example, you can install the GNOME desktop and the required components using the Yum groupinstall "gnome Desktop Environment" instruction. Other popular desktop environments include KDE and XFCE-4.4. XFCE is lighter than Gnome and KDE and is included in the Extras software library.
2. Configure VNC to edit the file:/etc/sysconfig/vncservers, modify the Vncservers field (make sure the comment for this line is canceled):
vncservers= "1:root 2:user1"
If the VNC service is opened for multiple users, it can be separated by a space.
Modify the Vncserverargs[1 field if you need to modify the resolution, set whether to allow logon over TCP, allow logon over the Web, and allow unsecured TCP Tunel logins:
vncserverargs[1]= "-geometry 1024x768-nolisten tcp-nohttpd-localhost"
Pay attention to the comments, modify as appropriate.
3. If the system turns on the firewall, uses the VNC Viewer connection, also puts the 5901~590x port, uses the Web method to connect the 5801~580x port (depending on how many users you open the VNC service, if VNC first port is open, then 5801, and so on) opens, As for whether to open the TCP port or UDP port, according to their own settings to modify.
4. To boot vncserver on boot, enter/sbin/chkconfig vncserver on this instruction
Or manually add a vncserver link to rc2~5.d/
5. Modify password use VNCPASSWD,
6. Question: IP to add: 1 to connect, and is enabled a new process
, just atch when the time does not need this