One, install the Linux desktop:
- Yum-y Groupinstall Desktop
- Yum-y groupinstall "X window System"
- Yum-y Groupinstall Chinese-support
- vi/etc/sysconfig/i18n
Change en_US to ZH_CN
Two. To install the Vncserver Service pack:
1. Install the Vncserver service-side package.
#yum-y Install VNC *vnc-server*
2. Change the vncserver master configuration file
#vim/etc/sysconfig/vncservers
Copy the last two lines and remove the line gaze, then change to
Vncservers= "1:root"
vncserverargs[1]= "-geometry 1920x1080"
3. Set Password
#vncpasswd
4, Start Vncserver service
#/etc/init.d/vncserver start
5. Open Xstartup Configure desktop
#vim/root/.vnc/xstartup
Change the last line to
Gnome &
6. Set up a firewall
#vim/etc/sysconfig/iptables
In "-a input-m State--state new-m tcp-p TCP--dport 22-j ACCEPT" Add one row below-a input-m state--state new-m tcp-p TCP--dpo RT 5901-j ACCEPT
Restarting the Iptables service
#/etc/init.d/iptables restart
7, using a VNC connection (: http://www.realvnc.com/download/)
Password for the password set above.
Complete!
!
!
Win7 VNC remote connection to the CentOS desktop