作者:马璐720 | 来源:互联网 | 2023-05-18 05:03
有时候需要关闭XServer,例如在安装NVIDIA驱动的时候,需要关闭XServer,我们可以通过服务来关闭.首先看下服务[root@softDesktop]#sys
有时候需要关闭X Server,例如在安装NVIDIA驱动的时候,需要关闭X Server,我们可以通过服务来关闭.首先看下服务
[root@soft Desktop]
gdm.service loaded active running GNOME Display Manager
[root@soft Desktop]
gdm: /usr/sbin/gdm /etc/gdm /usr/share/gdm
通过systemctl stop gdm.service来关掉X Server.接下来就可以作相应的操作,例如安装NVIDIA,安装完毕后,通过执行systemctl start gdm.service来启动X Server.