I. Installing the GNOME graphical desktop
#Yum"X window System"#yum"Desktop" #yum"Chinesesupport"
Two. Install Vncserver and configure (VNC is an excellent remote control software)
1. Installing Vncserver
#Yuminstall -y tigervnc-server
2. Configure Vncserver
1). configured to boot from
345 Vncserver on
2). Configure the VNC password
#vncserverYou would require a password to access your desktop. Password:verify:
3). Configure to use the GNOME desktop
Modify the file Xstratup, put the last twm & Delete plus gnome-session &.
Vim/root/.vnc/xstartup
4). Configure Vncserver to listen for ports and environment parameters after startup
Modify the/etc/sysconfig/vncservers file to add the following content
vncservers="1:root"# Desktop Number: User monitoring 590* Port vncserverargs[1 ]="-geometry 1200x800"
5). Restart Vncserver Service
#service vncserver Restart
Three. Allow root access to the graphical interface and generate new Machine-id
#sed's/.*!= root.*/#&/' /etc/pam.d/GDM #dbus-uuidgen >/var/lib /dbus/machine-ID
The first sentence of the SED command means to add a # to the front of the line that matches the/.*!= root.*/
The second sentence means that the UUID generated by the Dbus-uuidgen is output to the Machine-id file
Four. Turn off SELinux and NetworkManager services
1. Check the SELinux service and close ( confirm that the value of the SELinux field is disabled, and if not, change to disabled)
#vim/etc/selinux/config
2. Close the NetworkManager service
#chkconfig--del NetworkManager
Five. Test login:
CentOS6.5 installation of Vncserver for graphical access