Linux January 5, 2021 If you want to logout from your Linux desktop session, but don't want to leave your terminal window. gnome-session-quit