LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-28-2003, 10:03 AM   #1
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Rep: Reputation: 30
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?

Greetz,
AliTriX
 
Old 06-28-2003, 10:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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....
 
Old 06-28-2003, 10:20 AM   #3
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
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.
 
Old 06-28-2003, 10:31 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 06-28-2003, 10:38 AM   #5
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
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)

Last edited by alitrix; 06-28-2003 at 10:41 AM.
 
Old 06-28-2003, 11:13 AM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
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.
 
Old 06-28-2003, 12:14 PM   #7
alitrix
Member
 
Registered: Jun 2003
Location: Netherlands, The
Distribution: Ubuntu, Kernel 2.6.7
Posts: 169

Original Poster
Rep: Reputation: 30
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).
 
Old 06-28-2003, 02:20 PM   #8
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
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
 
  


Reply



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
Problems with Fluxbox norkers Linux - Software 3 03-31-2005 10:50 AM
FLuxbox Problems berkay Linux - Newbie 13 08-22-2004 02:23 PM
FluxBox problems... IamDaniel Linux - Software 4 12-15-2003 02:24 AM
Problems with Fluxbox basemodel Slackware 8 07-29-2003 06:58 PM
fluxbox problems Demon Linux - Newbie 5 04-16-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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