如何停止 `Xorg` 服务器?

如何停止 `Xorg` 服务器?

当我使用以下命令启动 Xorg 服务器时:

$ sudo Xorg -noreset +extension GLX +extension RANDR +extension RENDER :1 -config /etc/X11/xorg.conf

我得到如下输出:

X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu
Current Operating System: Linux Birth 5.4.0-86-generic #97~18.04.1-Ubuntu SMP Sat Sep 18 03:11:22 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-86-generic root=UUID=2b7e3ed6-1058-4685-8601-ad09ba0245e2 ro quiet splash vt.handoff=1
Build Date: 08 April 2021  01:40:27PM
xorg-server-hwe-18.04 2:1.20.8-2ubuntu2.2~18.04.5 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri Sep 24 21:39:21 2021
(++) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Xorg 服务器正在运行。但是,我该如何停止它?我试过了Ctrl+C,但没有用。

我在 Ubuntu 18.04 桌面上执行此操作

相关内容