For centos 6.4. (Software groups of other system versions have different names and are not tested)
If you do not have a desktop, install
Installation Method:
Install XWindow software group first
Yum groupinstall "X Window System"
Reinstall Desktop
Yum groupinstall "desktop"
Finally, right-click the desktop Terminal
Yum install Nautilus-open-terminal (not installed yet, you can try it)
Okay, it's done. Start startx on the command line. If you want it to start up, rewrite the/etc/inittab when it enters the desktop by default. The startup level is 5.
Yum grouplist.
Uninstall method:
Yum groupremove "desktop"
Yum groupremove "X Window System"
Okay, it's done. If you want it to start up, rewrite the/etc/inittab on the command line by default. The startup level is 3.
Under Yum grouplist, no desktop-related software groups are available.
This article is from the "xmirage" blog, please be sure to keep this source http://mirage1993.blog.51cto.com/2709744/1535439