gnome-session-quit1
End the current gnome session
Usage
gnome-session-quit [OPTION ...]
Overview
gnome-session-quit can be used to end a GNOME session.
Options
-
-h, --help -
Print help and exit
-
--logout -
Prompt the user to confirm logout. This is the default behavior. Cannot be combined with
--power-offor--reboot.
-
--power-off -
Prompt the user to confirm system power off. Cannot be combined with
--logoutor--reboot.
-
--reboot -
Prompt the user to confirm system reboot. Cannot be combined with
--logoutor--power-off.
-
--force -
Ignore any inhibitors.
-
--no-prompt -
End the session without user interaction. This only works with
--logout.
Releases
8 releases since Debian 7 (Wheezy); the text changed 2 times.
--force since Debian 8 (Jessie);
--help since Arch Linux 2026-11-01;
--reboot since Debian 8 (Jessie);
-h since Arch Linux 2026-11-01.