You are not logged in.
Hi to everyone:
I've installed Slim + OpenBox in one machine PIII-450 MHz., 256 MB RAM, HD 8.5 GB.
I've one issue now: when the system is starting, I can see the login prompt at the console, after one black screen by 20 seconds and appears the screen login from Slim.
Someone else with the same problem ... anyone knows how to fix it?
Offline
How are you starting slim? What are you expecting it to show while X/Slim is loading?
This is the /etc/inittab file:
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
This the /home/user/.xinitrc file:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
exec openbox-session
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
If I compare KDM + KDE vs Slim + OpenBox, this last mix is slowest.
Could be fastest or I need another Login Manager for OpenBox?
Offline
1. comment "x:5:respawn:/usr/bin/slim >& /dev/null" in your inittab. And modify /etc/rc.conf as below:
%cat /etc/rc.conf|grep -i slim
DAEMONS=(syslog-ng network netfs crond alsa hal slim)
2. add sessions in /etc/slim.conf
%cat /etc/slim.conf|grep openbox
sessions xmonad,openbox
3. modiy the ~/.xinitrc to meet your need. The following is mine:
%cat ~/.xinitrc
#!/bin/sh
LOCALE="zh_CN.UTF-8"
export XIM_PROGRAM=/usr/bin/fcitx
export XIM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
xset -dpms
xsetroot -cursor_name left_ptr
xsetroot -solid black
numlockx &
case $1 in
openbox)
exec openbox-session
;;
*)
exec xmonad
;;
esac
e^(π⋅i) + 1 = 0
Offline
1. comment "x:5:respawn:/usr/bin/slim >& /dev/null" in your inittab. And modify /etc/rc.conf as below:
%cat /etc/rc.conf|grep -i slim
DAEMONS=(syslog-ng network netfs crond alsa hal slim)2. add sessions in /etc/slim.conf
%cat /etc/slim.conf|grep openbox
sessions xmonad,openbox3. modiy the ~/.xinitrc to meet your need. The following is mine:
%cat ~/.xinitrc
#!/bin/shLOCALE="zh_CN.UTF-8"
export XIM_PROGRAM=/usr/bin/fcitx
export XIM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitxxset -dpms
xsetroot -cursor_name left_ptr
xsetroot -solid black
numlockx &case $1 in
openbox)
exec openbox-session
;;
*)
exec xmonad
;;
esac
I did the settings you told me, but nothing changed: 20 seconds is taking longer.
Offline
Using slim as a service instead of launching it from within inittab is an alternative. Not necessarily an improvement. Slim takes a few secs here too; I think that is the time it takes to launch the X server. You should try GDM and see if it shows the same behaviour.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline