You are not logged in.
All,
I recently began experimenting with Openbox after having installed Gnome on my Arch laptop. I found that I received an error immediately upon starting a session in Openbox from gdm. (I also experienced these problems from cli with gdm disabled.) Through trial and error I found that compiz running in gnome was causing my openbox session to crash (even though this was not evident in the log files)... I like to run gnome w/ compiz (please, no anti-eyecandy lectures/rants) and I'm trying to learn how to use openbox so I came up with the following solution that has worked well so far:
nano /usr/bin/gnome-session
#!/bin/sh
cp ~/.config/autostart/backup/fusion-icon.desktop ~/.config/autostart/fusion-icon.desktop
rm ~/.config/autostart/backup/fusion-icon.desktop
if [ -n "${DISPLAY}" ]; then
. /etc/X11/xinit/xinitrc.d/30-dbus
fi
exec /usr/lib/gnome-session/gnome-session $@
nano /usr/bin/openbox-session
#!/bin/sh
mkdir -p ~/.config/autostart/backup
cp ~/.config/autostart/fusion-icon.desktop ~/.config/autostart/backup/fusion-ic$
rm ~/.config/autostart/fusion-icon.desktop
if test -n "$1"; then
echo "Syntax: openbox-session"
echo
echo "See the openbox-session(1) manpage for help."
exit
fi
AUTOSTART="$HOME/.config/openbox/autostart.sh"
GLOBALAUTOSTART="/etc/xdg/openbox/autostart.sh"
if test -e $AUTOSTART; then
. $AUTOSTART
else
if test -e $GLOBALAUTOSTART; then
. $GLOBALAUTOSTART
fi
fi
exec /usr/bin/openbox "$@"
I basically added the first 2/3 lines following the initial #!/bin/sh line in both /usr/bin/gnome-session and /usr/bin/openbox-session and now I can switch easily between the two. Hope that helps anyone else running into this problem!
Last edited by aegis (2008-11-13 01:48:55)
Offline