1 (edited by zc923 2004-01-23 21:09)

Topic: Redhat 9 and trying to Install Fluxbox

I'm running RH9, and I am trying to install Fluxbox. Well, I guess "install" isn't the right word. I compiled the source into an rpm, and then installed the rpm. Now, following the faq on fluxbox's site, I created a fluxbox file in /etc/X11/gdm/Sessions. The file contained this:

  #!/bin/sh
#
# /etc/X11/gdm/Sessions/fluxbox
#
# global fluxbox session file -- used by gdm

exec /etc/X11/xdm/Xsession /usr/src/redhat/RPMS/i386

Now, if I'm thinking corectly, I should be able to see the option of starting into fluxbox from the logon screen under the Sessions menu. However, this is not true. All I see is Default, Failsafe, GNOME, KDE. I can't understand what I am doing wrong.
http://fluxbox.sourceforge.net/ is the site. Please help, I'm tired of GNOME, and KDE is a graphical bitch.

The code in the GNOME file is such

#!/bin/bash

exec /etc/X11/xdm/Xsession gnome
Do, or do not.

2

Re: Redhat 9 and trying to Install Fluxbox

Ok, have a correction:

#!/bin/sh

shoulc be

#!/bin/bash

and

/usr/src/redhat/RPMS/i386

should be

/usr/X11R6/bin

Now, when I try to run the file in terminal, i get this

[root@Winux bin]# ./fluxbox
Failed to read: session.tabs
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
fluxbox.cc: Loading groups ()
Failed to load groupfile:
BScreen::BScreen: an error occured while querying the X server.
  another window manager is already running on display :0.0.
Blackbox::Blackbox: no managable screens found, aborting
Fluxbox: Unknown error.

So, yeah...

Do, or do not.

3

Re: Redhat 9 and trying to Install Fluxbox

Yet another update!
Got fluxbox to appear in the Sessions section. But instead of loading fluxbox, it loads Gnome. Intresting fact, Gnome is running much faster. Hmn....

Do, or do not.

Re: Redhat 9 and trying to Install Fluxbox

Well,

I have exact same problem as far as output of error:
YOURS:
[root@Winux bin]# ./fluxbox
Failed to read: session.tabs
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
fluxbox.cc: Loading groups ()
Failed to load groupfile:
BScreen::BScreen: an error occured while querying the X server.
  another window manager is already running on display :0.0.
Blackbox::Blackbox: no managable screens found, aborting
Fluxbox: Unknown error.

EXCEPT yours has one line different:

root@linux1 root]# fluxbox
Failed to read: session.tabs
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
Failed to load groupfile:
BScreen::BScreen: an error occured while querying the X server.
  another window manager is already running on display :0.0.
Blackbox::Blackbox: no managable screens found, aborting
Fluxbox: Unknown error.

diff = fluxbox.cc: Loading groups ()

So you might be one step closer, but I can give you this info....

Fluxbox is not a "session" to be managed by Gnome.  You should login to the graphical session of Blackbox, THEN you should be, should be... able to select by Right Click -> Others => Start Fluxbox

It is a Window Manager, but not an entire Desktop environment like Gnome is.  The Blackbox is the Desktop environment that you load and you can pick and chose different Window Managers once the session has started.  Because it uses the same basic framework upon which the 0:0 display is being served.

Try going into Blackbox, then right click, and chose Other -> you should see Start Fluxbox

Unfortunately, event though I installed via TarBall, and I got no errors, it still won't appear as a selection for me, and attempting to run it by command line... from within Blackbox, I get the same error as you got above.

Also, you might try just firing /usr/bin/fluxbox from init 3 and see if it works... it may start X in Flux that way... but it hasn't worked for me yet either... at least you are seeing that one difference in errors.

GL

Re: Redhat 9 and trying to Install Fluxbox

And here is the answer that won it for me... shame it is not working from within Blackbox... I think cuz Flux must not have updated the BB files, I might have to rerun BB and then it might see the entries... . anyway, hope this helps you too.

http://phantom.byu.edu/pipermail/uug-li … 00352.html

Basically he is saying that you xinit  to start X and within xterm run fluxbox....... GL !!!!

[uug] Fluxbox and Red Hat 8.0
Phillip Hellewell uug-list@uug.byu.edu
Thu, 6 Feb 2003 14:58:34 -0700

    * Previous message: [uug] Fluxbox and Red Hat 8.0
    * Next message: [uug] InstallFest this Saturday
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

On Thu, Feb 06, 2003 at 01:24:04PM -0700, Kurt Didenhover wrote:
> BScreen::BScreen: an error occured while querying the X server.
>  another window manager is already running on display :0.0.
> Blackbox::Blackbox: no managable screens found, aborting

It sounds like another window manager is already running.  Maybe some
other window manager is being loaded first by accident.  So what happens
if you try this:

1. Exit X windows completely.
2. ctrl-alt-f1, brings up text mode login.
3. login as some regular user.
4. Run xinit.
5. Within the xterm window, run fluxbox.

If this works correctly, something is probably wrong in an xinitrc or
an Xsession file or something.

Phillip

P.S.  Files in question are: /etc/X11/xdm/Xsession, /etc/X11/Xsession,
~/.Xsession, ~/.xinitrc, /etc/X11/xinit/xinitrc, ...  After looking
through them all for a while, you might be able to figure out which one
calls which other ones and so forth.