cinnamon-session-quit
Log out, shutdown, or restart Cinnamon session
SYNOPSIS
cinnamon-session-quit [OPTION…]
PARAMETERS
--logout
Initiate logout from the session
--poweroff
Power off the machine
--reboot
Reboot the machine
--shutdown
Shut down the machine (alias for --poweroff)
--no-prompt
Skip confirmation prompts
--force
Force action without prompts or inhibitor checks
DESCRIPTION
cinnamon-session-quit is a command-line utility in the Cinnamon desktop environment for Linux. It requests the session manager to end the current user session through actions like logging out, rebooting, shutting down, or powering off the system.
The tool communicates via D-Bus with the Cinnamon session manager (cinnamon-session), ensuring a clean shutdown process. This respects active session inhibitors—applications or services that block logout to prevent data loss—and typically prompts for user confirmation unless overridden.
Unlike privileged system commands such as shutdown or reboot, it operates without root access, making it safe for regular users within their graphical session. Ideal for scripts, keyboard shortcuts, or terminal-based session control when the GUI menu is inaccessible.
Specify one action flag per invocation; combining them is invalid. Combine with --no-prompt or --force for non-interactive use, but beware of data loss risks with force.
CAVEATS
Must specify exactly one action (--logout, --poweroff, --reboot, or --shutdown). Only works inside a running Cinnamon session; fails otherwise. --force risks data loss by ignoring inhibitors.
EXIT STATUS
Returns 0 on success, 1 on error or invalid usage.
No options shows help message.
D-BUS INTERFACE
Invokes org.Cinnamon.SessionManager method via D-Bus; requires active session bus.
HISTORY
Part of Cinnamon DE since ~2012 (version 1.6+), forked from GNOME/mate-session tools. Evolved for Cinnamon's session management, mirroring gnome-session-quit.
SEE ALSO
cinnamon-session(1), gnome-session-quit(1), loginctl(1)


