You are not logged in.
Pages: 1
I just added SLiM and everything was working perfectly fine. Now, when I load OpenBox, it's just a black screen as if I've done no configuration.
I took a look at ~/.xsession-errors and noticed several things:
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: ssh-agent not found!
/etc/gdm/Xsession: Setup done, will execute: /usr/bin/openbox-session
I really don't know why it's still using anything from gdm. How can I change this to rely solely on SLiM?
Then of course, there's this:
How are you gentlemen? All your base are belong to us. (Openbox received signal 11)
Again, openbox runs fine. It's just as if I've set nothing in autorun.sh. No background, nothing.
Any ideas how I can start tracking down the cause of this? Thanks!
Offline
do you by any chance still have gdm listed in the DAEMONS array in rc.conf?
Another thing to check would be your inittab file, if you are re-spawning gdm from there.
Last edited by Inxsible (2009-03-04 06:27:41)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Here's the DAEMONS line from rc.conf (I removed gdm):
DAEMONS=(syslog-ng dbus !network netfs crond hal fam autofs dhcdbd clamav slim alsa wicd)
and here's my inittab:
#
# /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 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 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
I'd checked both of these already but maybe I missed sth. What other logs could I check? I didn't see anything weird in /var/log/slim.log.
I have no idea what could be doing it. The last thing I did before rebooting was edit the OpenBox menu. Also, the menu works... nothing else does.
Offline
In the slim config you are starting up openbox-session and not just openbox correct?
Openbox-session starts up everything that is listed in your autostart.sh file. Openbox on the other hand ignores autostart.sh file.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Yeah, that is correct.
~/.config/openbox/autostart.sh
# Run the system-wide support stuff
#. $GLOBALAUTOSTART
# Programs to launch at startup
hsetroot -fill ~/Pictures/Wallpaper/openbox_wallpaper.png &
xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
# Programs that will run after Openbox has started
#(sleep 2 && fbpanel) &
stardict &
tint2 &
wicd-client &
If I run the .$GLOBALAUTOSTART bit, it crashes... gives me a GLib-CRITICAL error.
In ~/.xinitrc, I've got this:
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
DEFAULT_SESSION=openbox
case $1 in
openbox)
exec openbox-session
;;
gnome)
exec gnome-session
;;
kde)
exec startkde
;;
*)
exec $DEFAULT_SESSION
;;
esac
Last edited by cisforcojo (2009-03-04 10:46:03)
Offline
try changing your DEFAULT_SESSION to "openbox-session", not "openbox"
Offline
And not that's it related, but remove dbus from your daemons array. hal will start it.
Offline
Pages: 1