1. Query whether the graphical interface is installed
Yum Grouplist |more
In the "Installed Groups:" section of the output of grouplist, if you can find "X Window System" and gnome desktop or KDE or XFCE-4.4, it proves that you have installed the desktop environment.
2. Installation
#yum groupinstall "X window System"
#yum groupinstall "GNOME desktop Environment" or #yum groupinstall "KDE desktop".
Uninstalling the GNOME desktop environment
#yum groupremove "GNOME Desktop Environment"
Uninstalling the KDE desktop environment
#yum groupremove "KDE (K Desktop environment)"
3. Modifying the CentOS configuration file
A.vi /etc/inittab 把最后一行修改为id:5:initdefault:
B. vi/etc/gdm/custom.conf modified to:
[Daemon][security]allowremoteroot=true[xdmcp]port=177Enable=1 [Greeter][chooser][debug]
C. Use the service iptables stop to shut down the firewall, or allow port 177
4. Open Xbrowser on Windows
Choose New---XDMCP session, enter a name and IP, click OK, and then double-click the new session just now, is it possible to connect to CentOS?
Done!!
centos6.5 installation graphical interface, Windows remote Linux GUI