Linux服务器messagebus默认关闭导致安装桌面环境后无法正常使用
时间:2016-01-03 02:28 来源:linux.it.net.cn 作者:IT
用户在Centos系统上按照正常流程安装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 programs will not function properly, and actions performed under this account can cause unrecoverable damage to the operating system."
?
该问题可能是由于桌面环境所依赖的messgebus和haldaemon服务没有自动启动导致的。为了提高系统性能和系统稳定性,ECS Linux服务器官方标准镜像未自动启动上述服务。
由于产生该错误的时候,用户无法做任何操作,用户可以尝试通过如下方式解决该问题:
-
通过历史快照回滚系统。
-
重新安装桌面环境。
-
使用如下方式修改上述服务为自启动:
chkconfig --level 35 haldaemon on
chkconfig --level 35 messagebus on
说明:保险起见,建议将启动级别修改为Level 3 而非默认的Lever 5,然后通过startx启动桌面环境,这样在出现问题的时候还可以通过切换终端进行问题排查和处理。确保桌面环境启动无误后,再将启动级别修改为Level 5.
(责任编辑:IT)
用户在Centos系统上按照正常流程安装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 programs will not function properly, and actions performed under this account can cause unrecoverable damage to the operating system."
该问题可能是由于桌面环境所依赖的messgebus和haldaemon服务没有自动启动导致的。为了提高系统性能和系统稳定性,ECS Linux服务器官方标准镜像未自动启动上述服务。
由于产生该错误的时候,用户无法做任何操作,用户可以尝试通过如下方式解决该问题:
说明:保险起见,建议将启动级别修改为Level 3 而非默认的Lever 5,然后通过startx启动桌面环境,这样在出现问题的时候还可以通过切换终端进行问题排查和处理。确保桌面环境启动无误后,再将启动级别修改为Level 5. (责任编辑:IT) |