Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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: http://www.thegeekstuff.com/2008/10/execution-sequence-for-bash_profile-bashrc-bash_login-profile-and-bash_logout/

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

 
discard

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.