CentOS7.2 在GUI下关闭X Server

来源:互联网 发布:linux 发送icmp请求包 编辑:程序博客网 时间:2024/04/25 06:03
    有时候需要关闭X Server,例如在安装NVIDIA驱动的时候,需要关闭X Server,我们可以通过服务来关闭.首先看下服务
[root@soft Desktop]# systemctl --all|grep gdm  gdm.service  loaded    active   running   GNOME Display Manager[root@soft Desktop]# whereis gdmgdm: /usr/sbin/gdm /etc/gdm /usr/share/gdm
    通过systemctl stop gdm.service来关掉X Server.接下来就可以作相应的操作,例如安装NVIDIA,安装完毕后,通过执行systemctl start gdm.service来启动X Server.
0 0
原创粉丝点击