You are not logged in.

#1 2009-03-21 19:13:10

utore
Member
From: USA
Registered: 2008-01-27
Posts: 67
Website

[SOLVED]openbox-session not launching openbox wm?

So I have this issue. I've been using Openbox for quite a few months now and I've just migrated away from using xfce4-panel with Openbox (not Xfce with Openbox) and a few issues have arisen. I managed to fix most of them, but the one that keeps bothering me is the fact that openbox-session doesn't launch the Openbox window manager from SLiM.

I've tried placing openbox --replace in my autostart.sh and starting x from bash and it works, but 'exec openbox-session' in ~/.xinitrc doesn't seem to be executing the openbox window manager.

Here's my autostart.sh:

# Run the system-wide support stuff
. $GLOBALAUTOSTART

# Programs to launch at startup
nitrogen --restore &

# Programs that will run after Openbox has started
# (sleep 3 && xfwm4) &
# (sleep 2 && xfce4-panel) &
# (sleep 1 && openbox --replace) &
(sleep 2 && stalonetray -w) &
(sleep 3 && tint) &
(sleep 4 && netwmpager) &
(sleep 5 && conky) &
(sleep 6 && pidgin)

Thanks.

Last edited by utore (2009-03-22 08:27:06)


Something witty.

Offline

#2 2009-03-21 19:21:07

mohaagh.02
Member
Registered: 2009-03-20
Posts: 27

Re: [SOLVED]openbox-session not launching openbox wm?

maybe you should run first openbox then the other programs  ( exec openbox & xfce4-panel )  that should work . place it in your .xinitrc  because slim read this file...

Last edited by mohaagh.02 (2009-03-21 19:21:20)

Offline

#3 2009-03-21 19:23:47

utore
Member
From: USA
Registered: 2008-01-27
Posts: 67
Website

Re: [SOLVED]openbox-session not launching openbox wm?

Doesn't openbox-session execute the openbox window manager as well as autostart.sh?

I should've mentioned that my autostart.sh is being executed when I log in through SLiM and everything is working fine, just the Openbox window manager doesn't seem to be executing.


Something witty.

Offline

#4 2009-03-21 19:33:44

mohaagh.02
Member
Registered: 2009-03-20
Posts: 27

Re: [SOLVED]openbox-session not launching openbox wm?

oups sorry yes ... backup your .xinitrc .. create a new one and put in it  " exec openbox-session & xfce4-panel"  that should work

Offline

#5 2009-03-21 19:42:48

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 283
Website

Re: [SOLVED]openbox-session not launching openbox wm?

I noticed the last line of your autostart is not backgrounded:

(sleep 6 && pidgin)

Maybe try changing it to:

(sleep 6 && pidgin) &

You also don't need all those sleeps.  Here's my autostart.sh:

# D-bus
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
       eval `dbus-launch --sh-syntax --exit-with-session`
fi

# Screensaver
xscreensaver -nosplash &

# Volume Management
thunar --daemon &

# Background Image
sh .fehbg &

# Keymap
xmodmap ~/.xmodmaprc

# Panel
xfce4-panel &

Offline

#6 2009-03-22 08:26:50

utore
Member
From: USA
Registered: 2008-01-27
Posts: 67
Website

Re: [SOLVED]openbox-session not launching openbox wm?

It seems to be working now via SLiM an even startx without placing openbox --replace in my autostart.sh. Thanks.


Something witty.

Offline

Board footer

Powered by FluxBB