Linux command
gdm-stop 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Stop GNOME Display Manager
sudo gdm-stop
说明
gdm-stop stops the GNOME Display Manager service entirely, terminating all graphical sessions and shutting down the graphical login interface. The system returns to text console mode (TTY), making this useful for troubleshooting graphics issues, performing system maintenance, or switching to a different display manager. All logged-in users will be forcibly logged out when GDM stops. On systemd-based systems, this is typically a wrapper for `systemctl stop gdm`. After stopping GDM, you can start it again with `systemctl start gdm` or access text consoles directly.
FAQ
What is the gdm-stop command used for?
gdm-stop stops the GNOME Display Manager service entirely, terminating all graphical sessions and shutting down the graphical login interface. The system returns to text console mode (TTY), making this useful for troubleshooting graphics issues, performing system maintenance, or switching to a different display manager. All logged-in users will be forcibly logged out when GDM stops. On systemd-based systems, this is typically a wrapper for `systemctl stop gdm`. After stopping GDM, you can start it again with `systemctl start gdm` or access text consoles directly.
How do I run a basic gdm-stop example?
Run `sudo gdm-stop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.