LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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, 11:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 11: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, 11:31 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 11: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 11:41 AM.
 
Old 06-28-2003, 12:13 PM   #6
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 757

Rep: Reputation: 53
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, 01: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, 03:20 PM   #8
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 757

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


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

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

All times are GMT -5. The time now is 08:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration