LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox won't start (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-won%27t-start-257283/)

maelstrom209 11-20-2004 12:48 PM

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.
maelstrom@slipstream:~>

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 :study:

Komakino 11-20-2004 01:12 PM

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.

david_ross 11-20-2004 01:22 PM

You can start an X server with:
X &

You probably want to set your display variable too:
export DISPLAY="127.0.0.1:0"

Crashed_Again 11-20-2004 01:30 PM

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.

maelstrom209 11-22-2004 12:24 AM

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?"


All times are GMT -5. The time now is 11:06 PM.