yum groupinstall -y Desktop
yum groupinstall -y "Desktop Platform"
yum groupinstall -y "Desktop Platform Development"
yum groupinstall -y Fonts
yum groupinstall -y "Graphics Creation Tools"
yum groupinstall -y "Input Methods"
yum groupinstall -y "X Window System"
yum groupinstall -y "Chinese Support"
yum groupinstall -y "Internet Browser"
或者
yum groupinstall -y Desktop "Desktop Platform" "Desktop Platform Development" Fonts "Graphics Creation Tools" "Input Methods" "X Window System" "Chinese Support" "Internet Browser"
chkconfig --level 35 haldaemon on
chkconfig --level 35 messagebus on
编辑/etc/inittab文件,修改启级别为5
reboot
ECS Linux CentOS 6.5系统中安装了桌面环境(Gnome或KDE)后,发现桌面环境无法正常启动,出现如下错误提示:
"You are currently trying to run as the root super user. The super user is a specialized account that is not designed to run a normal user session. Various progra?ms will not function properly, and actions performed under this account can cause unrecoverable damage to the operating system."
chkconfig --level 35 haldaemon on
chkconfig --level 35 messagebus on