Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-20-2004, 12:48 PM   #1
Registered: Sep 2004
Location: The Imagination
Distribution: Suse 9.3 Professional
Posts: 176

Rep: Reputation: 30
Fluxbox won't start

Hey guys,

I managed to install Fluxbox and the install went fine. My problem is when I try to start Fluxbox. I have my system stop at runlevel 3 so need to type in a command. So I type "startfluxbox" and this is the response:

maelstrom@slipstream:~> startfluxbox
/home/maelstrom/.fluxbox/startup: line 12: 4952 Segmentation fault /usr/local/bin/bsetroot -solid black
Error: Can not connect to X server.
Make sure you started X before you start Fluxbox.

I have no idea what to do. I guess I might have to edit the file or something. I assume that you guys must know more about this than me so any insight is greatly appreciated. Thanks
Old 11-20-2004, 01:12 PM   #2
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
If you're running from command line, I think 'startfluxbox' should be in your .xinitrc file rather than a command you just issue yourself....on its own I don't think it starts the X Window System.
Old 11-20-2004, 01:22 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can start an X server with:
X &

You probably want to set your display variable too:
export DISPLAY=""
Old 11-20-2004, 01:30 PM   #4
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
The suggested method from the fluxbox documentation is to create a .xinitrc file in your home directory then add the following to it:

# window manager
fluxbox & wmpid=$!

#HANG POINT - wait for windowmanager to exit
wait $wmpid

Now you should be able to type 'startx' and fluxbox will start.
Old 11-22-2004, 12:24 AM   #5
Registered: Sep 2004
Location: The Imagination
Distribution: Suse 9.3 Professional
Posts: 176

Original Poster
Rep: Reputation: 30
I was wondering if there's a way to make "startfluxbox" work because I already have "startx" set to launch KDE. I still want KDE so is there a way to make the command "startfluxbox" work without having to change Flux to launch with "startx?"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fluxbox won't start h2gofast Linux - Software 6 10-20-2005 09:20 PM
Programs in FluxBox take ages to start or don't start at all hubabuba Slackware 1 02-20-2005 09:21 AM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM
Fluxbox Start Up Crashed_Again Linux - Software 18 05-25-2003 06:13 PM
How do I start fluxbox monkeymartin Slackware 3 03-28-2003 07:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:23 AM.

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