I've got a weird problem, I'm using the "simple log-in manager" (SLiM) together with ratpoison.
I'm using runlevel 5 (by passing 5 to the kernel at boot) and i have this line in my /etc/inittab:
Code:
x:5:respawn:/usr/bin/slim >&/dev/null
It all work really well, I see the normal login prompt for a second, and then xorg starts and it doesn't take many secound befour I get to the SLiM login screen. after login ratpoison starts and everything works well, my .xinitrc:
Code:
#!/bin/sh
xmodmap -e "keycode 115 = F21" &
xmodmap -e "keycode 116 = F22" &
qiv -xr /home/mats/.theme/wallpaper/resize/*.jpg &
exec ratpoison
Now the problem; when I log out (by using :quit in ratposin), x terminates (the screen switches to rc/1), and then it should restart (by the respawn in inittab). it does start, but then it takes more than 20 seconds before slim start (until then, all I see is a black background and a cursor that can be moved).
The funny thing is that if I terminate x by pressing Ctrl+Alt+backspace, x respawns and SLiM starts in a matter of seconds (like when the system is first started).
I have tried this with archlinux and on a knoppix live-cd, and also different window managers, but everything gives the same delay (except with kde).
So, does anyone recognize this problem?