LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fluxbox problems (https://www.linuxquestions.org/questions/linux-software-2/fluxbox-problems-68648/)

alitrix 06-28-2003 10:03 AM

Fluxbox problems
 
Hi,

I check http://fluxbox.sourceforge.net and checked the screenshots and I liked fluxbox a lot! :P

So I downloaded it (like always I do with other programs) and unpacked it and did ./configure, make en make install.

Now I want to start it, but I can't, somebody know how I have to start it?
I get this kind of errors:

dbzgt@AliTriX:~$ 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.
dbzgt@AliTriX:~$


And yes, I understand, I am running atm KDE, but even if I stop it and go to init3 and try to start there fluxbox, I get a error something like that.

Help plz? :D

Greetz,
AliTriX

acid_kewpie 06-28-2003 10:08 AM

Quote:

I get a error something like that.
well you will NOT get that error at all outside of x.. how about you tell us what the REAL error is....

alitrix 06-28-2003 10:20 AM

Error is:

Quote:

BaseDisplay::BaseDisplay: connection to X server failed.
Fluxbox: Unknown error.
Not really the same :S ,thought it was.
But I don't understand that one.

acid_kewpie 06-28-2003 10:31 AM

right so your just running"fluxbox" outside of then? that's also wrong, as you need an unmanaged X server to connect to. you can either add flux to thewindow manager options or you'd create an ~/.xinitrc fle containig the line "exec /usr/bin/fluxbox" and run "startx" which will ru the contnts of that file at the suitable point.

alitrix 06-28-2003 10:38 AM

But how do I add it to the window manager? (that's what I wanted from the beginning :))
Is there somewhere a config that I can add it into?

(Btw, when I use init4, he uses the Gnome-login manager, if that's matter with the information you want to give me)

tobyl 06-28-2003 11:13 AM

I got fluxbox working like this:

I installed the fluxbox package from http://www.linuxpackages.net/

as I usually use kde, I put the section from /etc/rc.d/rc.4

# Not there? OK, try to use KDE's kdm session manager:
if [ -x /opt/kde/bin/kdm ]; then
exec /opt/kde/bin/kdm -nodaemon
fi

above the gnome choice, so that it runs first.

then I checked the file /opt/kde/share/config/kdm/Xsession

and put

fluxbox)
exec /usr/X11R6/bin/fluxbox
;;

in there along with all the other wm's.

do a restart (ok ok but its simpler)

select fluxbox from the dropdown menu when the kde start screen appears, and hey presto!

no doubt you can start it from the gnome login as well, but I am not familiar with gnome.

alitrix 06-28-2003 12:14 PM

Hm, I tryed what you sayed, but it isn't working.

I changed this 3 files:
/etc/X11/xdm/Xsession
/etc/X11/gdm/Sessions/Xsession
/opt/kde/share/config/kdm/Xsession

This line I added in all of them:
Quote:

fluxbox)
exec fluxbox
;;
So this is what you see in Xsessions (just a part of it):
Quote:

blackbox)
exec blackbox
;;
fluxbox)
exec fluxbox
;;
xfce)
exec /etc/X11/xinit/xinitrc.xfce
;;
But I still don't see it as a option in my menu (btw, I restarted the PC as well, thought it maybe can help).

tobyl 06-28-2003 02:20 PM

maybe the full path is needed:

fluxbox)
exec /usr/X11R6/bin/fluxbox
;;

the other thing I did (sorry forgot to mention)
go to kde control centre/System administration/Login manager

(you may have a little spanner icon - bottom left)

go to sessions, add new, and stick fluxbox in there

then try again


All times are GMT -5. The time now is 02:06 AM.