ECS Linux CentOS 6.5系统中安装了桌面环境(KDE或者Gnome)后,发现桌面环境不能正常启动,提示错误,如下所示:
"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