LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   FreeBSD: How to install Fluxbox? (http://www.linuxquestions.org/questions/%2Absd-17/freebsd-how-to-install-fluxbox-661998/)

gNguyen 08-11-2008 09:00 AM

FreeBSD: How to install Fluxbox? [Solved]
 
I'm trying to install fluxbox on freeBSD. I found a site that told me how to it says to add exec fluxbox to the end of .xinitrc but I can't find it. If I remember correctly it's in the home directory but it's not there.

indienick 08-11-2008 09:36 AM

I take it you already have Fluxbox compiled? Did you do it through ports or just source-code compile (./configure && make && make install)?

vermaden 08-11-2008 09:40 AM

If it doesn't exist then create it.

indienick 08-11-2008 09:47 AM

Okay - re-reading your post, do the following:
Code:

$ touch ~/.xinitrc
$ echo 'exec fluxbox &' >> ~/.xinitrc

Then, to launch X, run:
Code:

$ xinit

gNguyen 08-11-2008 11:09 AM

Ok, I got it working but i had to remove the & from 'exec fluxbox'. So do no longer need startx because xinit is alot faster. When I do startx I get some errors.
Code:

xauth: (argv):1: bad display name "gNguyen:0" in "list" command
also in "remove" command

vermaden 08-11-2008 11:27 AM

Quote:

Originally Posted by gNguyen (Post 3243709)
Ok, I got it working but i had to remove the & from 'exec fluxbox'. So do no longer need startx because xinit is alot faster. When I do startx I get some errors.
Code:

xauth: (argv):1: bad display name "gNguyen:0" in "list" command
also in "remove" command

Add you hostname + hostname.domain in /etc/hosts:
Code:

::1                    localhost host host.domain.com
127.0.0.1              localhost host host.domain.com
10.0.0.107              localhost host host.domain.com

Then generate xorg.conf:
Code:

# X -configure
# mv /root/xorg.conf.new /etc/X11/xorg.conf
# exit
% xinit


gNguyen 08-11-2008 12:05 PM

Wow! Perfect thank you very much.


All times are GMT -5. The time now is 08:46 PM.