LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-24-2004, 03:41 PM   #1
theguitarsquall
LQ Newbie
 
Registered: Sep 2004
Distribution: redhat 8
Posts: 11

Rep: Reputation: 0
Angry fluxbox problem


hey all
i have mandrake 10 up and running, might i add that it is amazing. im trying to install fluxbox...and i simply do not know how. i went to konsole and urpmi fluxbox, installed the packages/dependencies...now what? any help would be greatly appreciated to get this thing up and runing.
 
Old 09-25-2004, 08:54 AM   #2
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
Have you looked at the fluxbox documentation and followed their installation procedure?
 
Old 09-25-2004, 10:21 PM   #3
theguitarsquall
LQ Newbie
 
Registered: Sep 2004
Distribution: redhat 8
Posts: 11

Original Poster
Rep: Reputation: 0
Yeah, but the fluxbox Documentation is for the .tar file, for the rpm you dont have to do /.configure or make install or anything. The file i downloaded and installed via urpmi with mandrake 10 is fluxbox-0.9.8-1mdk.src.rpm
 
Old 09-25-2004, 10:38 PM   #4
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
what exactly doesn't work? do you have the option of booting to fluxbox at the login screen?

*edit*
it should be under "Session" or something if it installed correctly.
 
Old 09-25-2004, 11:00 PM   #5
theguitarsquall
LQ Newbie
 
Registered: Sep 2004
Distribution: redhat 8
Posts: 11

Original Poster
Rep: Reputation: 0
ok, i have fluxbox installed, im just not sure how to run it. i have a .fluxbox directory in my home directory, and a fluxbox directory in /usr/share/fluxbox. yet i still cant run fluxbox, i have no idea what the problem is. i opened up a konsole and tried to run fluxbox, but it gave me this error:
Failed to read: session.tabs
Setting default value
Failed to read: session.ignoreBorder
Setting default value
Failed to read: session.numLayers
Setting default value
Failed to read: session.updateDelayTime
Setting default value
Failed to read: session.slitlistFile
Setting default value
Failed to read: session.groupFile
Setting default value
Failed to read: session.useMod1
Setting default value
Failed to load groupfile:
apps file failure
Failed to read: session.screen0.imageDither
Setting default value
Failed to read: session.screen0.opaqueMove
Setting default value
Failed to read: session.screen0.sloppywindowgrouping
Setting default value
Failed to read: session.screen0.workspacewarping
Setting default value
Failed to read: session.screen0.desktopwheeling
Setting default value
Failed to read: session.screen0.antialias
Setting default value
Failed to read: session.screen0.autoRaise
Setting default value
Failed to read: session.screen0.clickRaises
Setting default value
Failed to read: session.screen0.rootCommand
Setting default value
Failed to read: session.screen0.resizeMode
Setting default value
Failed to read: session.screen0.menuAlpha
Setting default value
Failed to read: session.screen0.menuDelay
Setting default value
Failed to read: session.screen0.menuDelayClose
Setting default value
Failed to read: session.screen0.menuMode
Setting default value
BScreen::BScreen: an error occured while querying the X server.
another window manager is already running on display %s.
:0.0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.


i looked at the fluxbox site documentation, and under the "running fluxbox" heading it said to use the "startx" command. i did startx in konsole and it gave me this error
[yousuf@localhost yousuf]$ startx
Using authority file /home/yousuf/.Xauthority
Writing authority file /home/yousuf/.Xauthority

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

when i restart my box, it doesnt give me a fluxbox option. and thats pretty much all the information i can give you, because thats all i know
 
Old 09-25-2004, 11:11 PM   #6
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
it's because you're already running x. i know how to do this on systems that don't automatically go into x (just what you said, "startx"), but i don't know about mandrake. are you sure there's no fluxbox option at the login screen?

check out these threads though:
http://www.linuxquestions.org/questi...threadid=16441
http://www.linuxquestions.org/questi...hreadid=191291
 
Old 09-25-2004, 11:12 PM   #7
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
or a much better solution would be the fluxbox online docs like caladbolg said: http://fluxbox.org/docbook/en/html/c98.html#AEN100
 
Old 09-25-2004, 11:33 PM   #8
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
I had a ton of trouble figuring this out on my mandrake 10 system. To add fluxbox to the types of sessions you can choose at login, add a file called XXfluxbox.desktop to either /etc/X11/dm/Sessions (if that doesn't work, try /etc/X11/wmsession.d), where XX is the spot in the list you want fluxbox to appear (ie 1 = first in the list, 2 = second in the list, etc.)

Here is my XXfluxbox.desktop:
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=Fluxbox
TryExec=/usr/local/bin/fluxbox
Exec=/etc/X11/xdm/Xsession Fluxbox
Icon=
Type=Application

You may need to change the TryExec and Exec entries to match your fluxbox install dir. It looks like the fluxbox executable is in your path, so try which fluxbox, to find the executable. It may also help to look at the chksession command. Mine is in /usr/sbin. Try /usr/sbin/chksession --help for more info.

Good luck!
 
Old 09-25-2004, 11:39 PM   #9
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
Also, if you can't figure out how to add fluxbox to the list of available sessions, create a file in your home dir called .xsession that contains the path to the fluxbox executable (/usr/local/bin/fluxbox for me). This will cause flux to start no matter what session type you choose.
 
Old 09-25-2004, 11:49 PM   #10
meblost
Member
 
Registered: May 2004
Location: At Keyboard
Distribution: Mandrake 10.0, SuSE 9.0
Posts: 114

Rep: Reputation: 15
Sorry, yet another post. If you want to use startx, switch to runlevel 3 by typing, init 3. Then you can do startx fluxbox.

I swear I'll leave you alone now...
 
Old 09-26-2004, 12:30 AM   #11
theguitarsquall
LQ Newbie
 
Registered: Sep 2004
Distribution: redhat 8
Posts: 11

Original Poster
Rep: Reputation: 0
hey meblost, i figured out the fluxbox problem. thanks alot for the help, are you still using mandrake 10? if so, contact me via gaim, my id is theguitarsquall
 
Old 09-26-2004, 08:58 AM   #12
caladbolg
Member
 
Registered: Jul 2004
Distribution: Mandrake 10.x, Fedora Core 3, Archlinux 0.7, Ubuntu 5.04
Posts: 303

Rep: Reputation: 31
It appears you have the problem solved, but on my mdk 10 system:

I had to add it to a directory.

cd /etc/X11/wmsession.d

If you look, there are numbers and then the windows managers you have. In this case, I had

01KDE

So I did

mv 01KDE 02KDE
cp 02KDE 01Fluxbox

Then just edit the 01Fluxbox file for fluxbox instead of kde
 
Old 10-24-2004, 02:06 AM   #13
hawkwind
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
An easy solution

Another easy solution to this problem is to install Xtart via urpmi as root. Once you install your fluxbox(or any window manager) rpm then like the others stated, set init level 3 by editing /etc/inittab and changing the line

id:5:initdefault:

to

id:3:initdefault:

Then restart the X server by doing ctrl-alt-backspace. Once at the login prompt, log in as normal user, type Xtart and then select the window manager of your choice from the list that appears. Pretty simple solution.

Also, if you notice in one of the previous posts, he was trying to install a src.rpm which is a bit different than installing a regular rpm. Make sure you look at what you are downloading and trying to install.

http://LinuxForDummies.org
http://LinuxForDummies.org/phpBB

Hawkwind
 
  


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
Little problem with X (fluxbox) Paran0id Debian 2 06-28-2005 12:23 AM
Fluxbox problem xephyr Linux - Newbie 8 10-25-2004 11:00 AM
Problem with Fluxbox Antimatter Linux - Software 1 09-07-2003 10:13 PM
problem with fluxbox k0ljat Linux - Software 1 08-25-2003 01:11 PM
fluxbox problem nakkaya Linux - General 1 01-19-2003 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:07 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