You are not logged in.
I've followed so far a few different guides and recommendations in how to get openbox to launch upon login/boot, needless to say I've just about given up the venture.
Note: I'm not running GNOME or KDE at all, I'm attempting to use Openbox by itself without any other WM's getting in the way.
.xinitrc
#!/bin/sh
# ~/.xinitrc
# Executed by startx
#Window managers
exec openbox-session
autostart.sh
#autostart.sh executes before .xinitrc, stuff that is to launch first
#starts here
# Environment variables set here are passed to openbox
. $GLOBALAUTOSTART
# The below runs after Openbox
(sleep 3 $$ conky) &
(sleep 5 && sudo nitrogen --restore) &
(sleep 9 && sudo tint2) &
Please excuse any above typos in the code listed above, I'm transposing it onto another computer.
Thanks for looking!
Last edited by kzersatz (2010-02-26 05:03:44)
Offline
So, what happens when you type startx?
Or are you using a login manager?
Offline
are you trying to get openbox to run immediatly without startx or xinitrc?
Offline
I am currently not using a login manager, though yes I am attempting to get it to launch immediatly without having to type "xinitrc /usr/bin/openbox-session" or "startx"
Offline
Offline
i use slim myself. its pretty easy to set up. its light and simple in appearance.
Offline
Thanks all of you
@Anonymous_user: Solved the issue!
added to my ~/.bash_profile and it solved the issue
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
xinit
logout
fi
Offline