智玩网 智能科技

centos7图形界面空白

centos7图形界面空白

要关闭 CentOS 7 的图形化界面,可以按照以下步骤操作:

1. 登录到 CentOS 7 系统中的命令行界面。

2. 运行以下命令以停止图形化界面服务: ``` sudo systemctl stop gdm # GNOME 桌面环境 sudo systemctl stop kdm # KDE 桌面环境 sudo systemctl stop lightdm # Unity 桌面环境 ``` 其中,根据你安装的桌面环境,选择相应的命令。

3. 禁止图形化界面服务在系统启动时自动启动: ``` sudo systemctl disable gdm # GNOME 桌面环境 sudo systemctl disable kdm # KDE 桌面环境 sudo systemctl disable lightdm # Unity 桌面环境 ``` 4. 重启系统,使修改生效: ``` sudo reboot ``` 这样就可以关闭 CentOS 7 的图形化界面了。如果需要重新启用图形化界面,只需要运行 `systemctl start` 命令即可。

版权说明:文章均为账号作者发布,不代表本网站观点与立场,如有侵权请联系我们删除

热门