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 |