Install graphical interfaces for CentOS 6.4 and use VNC for remote connection
Install graphical interfaces for CentOS 6.4 and use VNC for remote connection
1. Install the VNC service
# Yum install-y tigervnc-server
# Passwd // set the root user vnc remote connection password
# Service vncserver start
2. Modify the vnc service desktop configuration file
# Vi/root/. vnc/xstartup
Comment out the last line (twm &) in the open edit text, and add a line of gnome-session &. The final Modification result is:
# Twm &
Gnome-session &
3. Modify the vnc service configuration file
# Vi/etc/sysconfig/vncservers
Edit the last two lines of text, remove the annotator, and modify the content as follows:
VNCSERVERS = "1: root"
VNCSERVERARGS [3] = "-geometry 800x600-nolisten tcp-localhost"
4. Restart the vnc service.
# Service vncserver restart
5. Install X window System
# Yum groupinstall-y 'x Window System'
6. Install GNOME
# Yum groupinstall-y 'desktop'
7. Start GNOME
# Startx
8. Use VNC Client for remote connection
Enter ip: 1 in the connection address, for example, 127.0.0.1: 1.
VNC installation Configuration
Install and configure VNC in CentOS 6.3
In Linux, the dependency installation VNC is not detected.
CentOS6 VNC service installation and configuration
VNC remote control installation and Setup
Windows accesses Ubuntu through VNC
Install VNC for accessing Ubuntu 12.04 through Windows Remote Desktop