云服务器 ECS Linux 系统安装图形化桌面 (centos7 ubuntu14)

您所在的位置:网站首页 linux远程启动图形化 云服务器 ECS Linux 系统安装图形化桌面 (centos7 ubuntu14)

云服务器 ECS Linux 系统安装图形化桌面 (centos7 ubuntu14)

2024-01-30 13:33| 来源: 网络整理| 查看: 265

现象:按照正常流程安装 Gnome 桌面环境在云服务器 ECS CentOS 系统后,发现无法重启登录系统。输入账户,密码后,系统提示如下:

"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 官方公共镜像未自动启动messgebus 和 haldaemon 服务。

解决:产生该错误时,您无法做任何操作,可以尝试如下方式解决问题:

通过历史快照回滚系统。 重新安装桌面环境。

执行以下命令,修改 messgebus 和 haldaemon 服务为自启动:

chkconfig --level 35 haldaemon on chkconfig --level 35 messagebus on

说明:保险起见,建议您将启动级别修改为 Level 3,然后通过 startx 命令启动桌面环境,测试桌面环境的可用性。当出现问题时,您还可以切换到终端模式进行问题排查和处理。最后,在确保桌面环境启动无误后,再将启动级别修改为 Level 5。



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3