It used the be in earlier versions of CentOS that one could install a GNOME desktop or KDE desktop by using yum groupinstall “GNOME Desktop” or “KDE Desktop”.
However it is now very generic.
To install it do:
yum groupinstall "Desktop" "X Window System"
Make sure to edit /etc/inittab and change the runlevel to 5, otherwise the desktop environment will not auto start. (In my case I don’t want it to so I use startX when I need it)
cat /etc/inittab</pre> ... id:5:initdefault: <pre>
Then reboot your CentOS 6 host for the settings to take effect.





