yum groupinstall "X WindowSystem" "KDE Desktop" Desktop -y
yumgroupinstall -y "Desktop" "DesktopPlatform" "Desktop Platform Development" "Fonts" "General Purpose Desktop" "Graphical Administration Tools" "Graphics Creation Tools" "InputMethods" "X Window System" "Chinese Support [zh]" "InternetBrowser"
編輯/etc/inittab文件,修改啟級別為5,如下圖,然後重新啟動就可以進入桌面環境了。因為我這是遠程環境的,只是運用了命令行,可以使用VNC進行桌面環境的遠程。
[root@pddb236 ~]# vim /etc/inittab
# id:3:initdefault:
id:5:initdefault:
參考:http://www.myhack58.com/Article/48/66/2014/46225.htm