2

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?

cYrus
  • 21,379
  • 8
  • 74
  • 79

3 Answers3

2

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/

LawrenceC
  • 73,030
  • 15
  • 129
  • 214
0

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.

frabjous
  • 10,755
  • 3
  • 34
  • 27
  • 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
0

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.

Keith
  • 8,013
  • 1
  • 31
  • 34
  • `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