Is there a generic way to orderly end X session regardless of display mangager or window manager?

More specifically, I use different windows managers for different users, and after reboot one user cannot login back, because gdm says I am already logged in. I assume this is because I leave dirty state (that user ends session with openbox --exit).

  • Try logging out differently - some methods listed here. Also, you could kill all that user's running processes by executing kill -9 -1 as that user - but don't run it as root.
    – Wilf
    Nov 28, 2013 at 21:22


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy