You are not logged in.

#1 2010-02-26 00:33:10

kzersatz
Member
Registered: 2010-02-26
Posts: 4

Openbox refuses to boot upon login no matter what I try [SOLVED]

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

#2 2010-02-26 00:38:08

reed9
Member
Registered: 2008-06-12
Posts: 77

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

So, what happens when you type startx?

Or are you using a login manager?

Offline

#3 2010-02-26 00:41:25

trishtren18
Member
From: Iowa, America
Registered: 2009-11-12
Posts: 45

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

are you trying to get openbox to run immediatly without startx or xinitrc?

Offline

#4 2010-02-26 00:47:57

kzersatz
Member
Registered: 2010-02-26
Posts: 4

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

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

#5 2010-02-26 01:01:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

Offline

#6 2010-02-26 03:05:16

trishtren18
Member
From: Iowa, America
Registered: 2009-11-12
Posts: 45

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

i use slim myself.  its pretty easy to set up.  its light and simple in appearance.

Offline

#7 2010-02-26 04:09:36

kzersatz
Member
Registered: 2010-02-26
Posts: 4

Re: Openbox refuses to boot upon login no matter what I try [SOLVED]

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

Board footer

Powered by FluxBB