You are not logged in.

#1 2009-03-04 03:43:31

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

OpenBox crashing

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

#2 2009-03-04 06:27:06

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: OpenBox crashing

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)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-04 07:04:17

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

Re: OpenBox crashing

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

#4 2009-03-04 07:22:46

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: OpenBox crashing

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.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2009-03-04 10:44:14

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

Re: OpenBox crashing

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

#6 2009-03-08 22:30:58

Jiran
Member
Registered: 2009-01-29
Posts: 17

Re: OpenBox crashing

try changing your DEFAULT_SESSION to "openbox-session", not "openbox"

Offline

#7 2009-03-08 22:52:42

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: OpenBox crashing

And not that's it related, but remove dbus from your daemons array. hal will start it.

Offline

Board footer

Powered by FluxBB