PDA

View Full Version : [Solved] Installing Xorg with Openbox


badhat101
October 5th, 2010, 20:36
I've done a lot of looking for this and I cannot find any definitive answers.

I want to have a workstation that is OpenBox (with feh and perhaps pypanel). However, after compiling Xorg and configuring it, I did

mv /root/xorg.conf.new /etc/X11/xorg.conf

and now I'm stuck. I have already compiled OpenBox from ports but I don't know how to start it. If I try to startx the default session begins with TWM.

I haven't been able to find any .xinitrc or .xsession (though I am not using XDM) in the locations that people have suggested from other sources so I am assuming that these locations are from before the new Xorg. How do I get started with a .xinitrc in my home directory so that when I startx it will begin with Openbox and not TWM?

davetrotteruk
October 5th, 2010, 21:06
Make a file with you editor of choice e.g.
vi ~/.xinitrc
and in there write
exec openbox-session

badhat101
October 5th, 2010, 22:09
Excellent, thank you.