LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-11-2008, 09:00 AM   #1
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Rep: Reputation: 15
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.

Last edited by gNguyen; 08-11-2008 at 12:06 PM.
 
Old 08-11-2008, 09:36 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I take it you already have Fluxbox compiled? Did you do it through ports or just source-code compile (./configure && make && make install)?
 
Old 08-11-2008, 09:40 AM   #3
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 406

Rep: Reputation: 89
If it doesn't exist then create it.
 
Old 08-11-2008, 09:47 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Okay - re-reading your post, do the following:
Code:
$ touch ~/.xinitrc
$ echo 'exec fluxbox &' >> ~/.xinitrc
Then, to launch X, run:
Code:
$ xinit
 
Old 08-11-2008, 11:09 AM   #5
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
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
 
Old 08-11-2008, 11:27 AM   #6
vermaden
Member
 
Registered: Jan 2006
Location: pl_PL.lodz
Distribution: FreeBSD
Posts: 406

Rep: Reputation: 89
Quote:
Originally Posted by gNguyen View Post
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
 
Old 08-11-2008, 12:05 PM   #7
gNguyen
Member
 
Registered: Jul 2008
Distribution: FreeBSD, Slackware, Debian
Posts: 67

Original Poster
Rep: Reputation: 15
Wow! Perfect thank you very much.
 
  


Reply

Tags
errors, fluxbox, missing, startx, xinitrc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Fluxbox in FreeBSD 7.0 theunixwizard *BSD 1 07-16-2008 10:00 PM
apt-get install fluxbox..error: couldn't find package fluxbox 200mg Ubuntu 7 12-08-2006 03:33 PM
how do i install themes on Fluxbox in FreeBSD? asilentmurmur *BSD 1 08-08-2006 04:22 PM
FreeBSD dual screen xorg fluxbox garnser *BSD 1 12-04-2004 11:40 PM
Fluxbox: Enabling KDE using package install of fluxbox underline Linux - Software 0 12-27-2003 10:11 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration