CmdID / Commands
Restart the GNOME Display Manager (GDM) only when all users have logged out. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Restart the GNOME Display Manager application when all users have logged out
gdm-safe-restart
gdm · gdm-binary · gdmsetup · gdm-stop · gdm-restart