Hi, actually there is nothing wrong with slim, you have to remember that slim is an X-application, so killing X also kills all applications using X (including X-based login-managers). To fix this xdm needs to restart slim, or you use /etc/inittab. You should also realize that using /etc/inittabs respawn option is no workaround but a perfectly legal solution to automatically respawn your graphical environment. In Archlinux for example it's the suggested way to handle this.
Although it would be possible to include this respawning into slim (and I suppose that gdm and kdm have this feature?) it is much more work than checking in xdm is slim is still up and if not restarting it (since xdm is slim's parent process it gets even informed about it, so no polling would be necessary!). Geralt. On Thu, Oct 16, 2008 at 5:08 PM, <[EMAIL PROTECTED]> wrote: > Liviu Andronic <[EMAIL PROTECTED]> [08-10-16 03:54]: >> Hello, >> >> On Wed, Oct 15, 2008 at 7:14 PM, <[EMAIL PROTECTED]> wrote: >> > The login manager slim, which is started in daemon mode, >> > get killed when X is left by pressing Ctrl-Alt-Backspace >> > (zapping X) -- there is a fallback to the login of the >> > root console instead of getting a new login screen of slim. >> > >> > How can I prevent this? >> > >> I use >> x:5:respawn:/usr/bin/slim >% /dev/null >> in /etc/inittab, instead of /etc/init.d/xdm. This seems to solve the >> issue. SLiM 1.3.1 seems a bit buggy, however, on Gentoo (although >> didn't try on other distributions). Version 1.3.0 was more stable. >> >> Regards, >> Liviu >> > > I am using slim 1.3.0.... > I will try the inittab-patch, but it is only a workaround. > By the way: Is there a way to use different backgrounds for > slim and the desktop. I am using Icewm and that background > was overwritten by slim... > > Thanks a lot for your help! > > KLind regards, > mcc > > -- > Please don't send me any Word- or Powerpoint-Attachments > unless it's absolutely neccessary. - Send simply Text. > See http://www.gnu.org/philosophy/no-word-attachments.html > In a world without fences and walls nobody needs gates and windows. > >

