Arch Linux, Openbox and Desktop
8,900
That's not the right way to initiate a x session with openbox,
Perhaps you meant to put that line in ~/.xinitrc
, and execute startx
instead.
Remember that an X app can't be run outside the Xorg environment.
Author by
Mitro
I used computer for the first time when I was 10 and now it's my primary occupation. I like looking at the things I use daily and ask myself questions such as “How it is made?”, “How does it work?”, or "Could I do it better?". Something that "just works" isn't good enough for me. I always want to do the best with everything I use or develop. I like learning and love coding.
Updated on September 18, 2022Comments
-
Mitro over 1 year
I' m installing Arch with OpenBox, I' ve done everything but when I type
openbox-session
I have this error
Failed to open the display from the DISPLAY environment variable.
What's the problem?
-
Wieland about 11 yearsThis covered in more detail at the arch wiki.
-
Mitro about 11 yearsYes with startx is ok, but why in the wiki there is exec openbox-session ??
-
daisy about 11 years@AlessioMTX exec would replace the current shell process with the openbox-session process, thus X can know the exit status of it
-
Mitro about 11 years@Wieland yes I wrote also in ~/.xinitrc: exec openbox-session
-
Neil over 9 yearsJust in case anyone doesn't realise (like me). You need to install
xinit
to run openbox.sudo apt-get install xinit
.