Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not using any desktop environment, but I need a session manager mainly to gracefully halt the system. It seems I can't find any solution around. The only one is xsm, but I got no luck with it.

What do you suggest?

share|improve this question

Write your own. Use bash as a shell. You can call setup and teardown scripts from .bash_login and .bash_logout. Include a startx command in bash_login.

This will be helpful:

share|improve this answer

Are you sure you need a session manager as opposed to a login manager or display manager? If not, look at SliM, Qingy, cdm or xdm.

share|improve this answer
I'm using xdm, but it doesn't care about killing processes on logout. Maybe I'm misunderstanding some concepts... Let's say I need something that gracefully kills my processes when I close my window manager. – cYrus Sep 14 '10 at 12:44

You could try the xfce4 session manager. The xfce4 desktop is modular, and many components can be used stand-along. Although you may also need the settings manager.

share|improve this answer
xfce4-session has several dependencies (among the others: aumix, xfdesktop4, xscreensaver, tango-icon-theme, etc.) and I can't see how they can be related to session management. I was looking for something different. But maybe I'll give it a try. – cYrus Feb 20 '11 at 11:33
@cYrus Well, xfce4 is a pretty good environment in its own right. Try it, maybe you'll like it. – Keith Feb 20 '11 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.