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?
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/
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.
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.
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.
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.