Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-06-2004, 08:36 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Fluxbox help on Slack

I thought this was gonna be easy...

Downloaded this :

After unpackaging everything, I run "./configure", then "make", then "make install". I followed the instructions on the faq ( to get fluxbox to appear in the GDM sessions menu. Followed them, and no luck. Fluxbox does not appear in the sessions menu.

I installed Fluxbox on RH9 a couple weeks ago on another comp, and everything worked alright. But know, Im stuck.

Any suggestions?
Old 04-06-2004, 08:45 PM   #2
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
Create the file: /etc/gdm/Sessions/fluxbox with contents:

there are several ways respective to the Desktop Enviornment you are running.

Where do you think its failing?
Those were pretty simple tutorials, being that easy there arent many ways something could go wrong.

Last edited by AutOPSY; 04-06-2004 at 08:49 PM.
Old 04-06-2004, 09:24 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, so heres what I got...

created "/etc/gdm/Sessions/fluxbox". It did not appear at all in the sessions menu. So, deleted that file, copied a functioning "gnome" file, and then renamed it fluxbox. Success! I can see it in the sessions menu.

From there, when I try to load fluxbox, I get an error saying that Xwindows ran for less then 10 seconds. Look at the error code, it says that "/etc/X11/Xsession" does not exist. So, after looking at the working gnome one, I, changed this to "etc/X11/xdm/Xsession". Therefore, the line reads "exec /etc/X11/xdm/Xsession /usr/local/bin/fluxbox". Upon trying to start this, it loads gnome (lightnig quick might I add ). Upon doing more snooping, I found an "xinitrc.fluxbox" file. I edited the Xsession file, and Changed "Blackbox" to "fluxbox" and changed the exec command to "exec /etc/X11/xinit/xinitrc.fluxbox".
Going back to the "/etc/gdm/Sessions/fluxbox" file, I changed "exec /etc/X11/xdm/Xsession /usr/local/bin/fluxbox" to "/etc/X11/xdm/Xsession fluxbox". And what do You know, It worked!

I guess the fluxbox people should edit their faq...

Steps Outlined:
1. Duplicat a current working file in "/etc/gdm/Sessions/", and rename it to "fluxbox"
2. Edit the new "fluxbox" file, add this
#bin/bash -login <br> exec /etc/X11/xdm/Xsession fluxbox
3. Edit /etc/X11/xdm/Xsession", find "blackbox", replace with "fluxbox", then change the "exec blackbox" to "exec /etc/X11/Xinit/xinitrc.fluxbox".
4. Download this file "". Unpack, and find the file "xinitrc.fluxbox".
5. Copy "xinitrc.fluxbox" to "/etc/X11/Xinit/xinitrc.fluxbox".
6. Enjoy

Thanks guys, If I had not posted, I sould have given up .
Old 04-07-2004, 11:47 PM   #4
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
#bin/bash -login <br> exec /etc/X11/xdm/Xsession fluxbox
add that to the file.

the file has to have lenght bytes >0 .
an empty file will not work
Old 04-08-2004, 01:41 AM   #5
Senior Member
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
No, GDM is different now, and those instructions don't seem to work any more.

What you have to do (I just did this yesterday to add blackbox and KDE to my GDM sessions menu) is go to /usr/share/Xsessions (preferably as root).

You should find a bunch of *.desktop files relating to the WM's currently on your menu.

Right click one of them and open it in a text editor (as root).

Change the entries to reflect the new WM. It's pretty obvious (change the name, change the name again in the tooltip, change the startup command), but you can look in the Xsession files to see the actual startup command if you don't know it.

Save the file as (do not use Save, use Save As) whatever_the_desktop_name_is.desktop. This has to be (afaik) the same name as the desktop name used in the file. So if the name you've used is KDE-3.2.1, the desktop file should be called KDE-3.2.1.desktop. Or maybe I'm just over cautious.

Then you must reboot so that GDM's config file is reread when it restarts. Or I suppose you could stop it and start it, but I'm not sure how that would work. In any case, when you reinitialize GDM, you should have the additional entries and they should work, provided you have the correct startup command in the *.desktop file.

Worked for me, anyway. Hope it helps you.


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
Slack, fluxbox, junk parts slightcrazed Member Success Stories 11 01-05-2009 06:32 AM
Configuring fluxbox on slack 9.1 The_Messiah Slackware 4 09-01-2004 07:02 PM
fluxbox with slack 9.0 Aman9090 Slackware 1 10-17-2003 01:00 PM
Fluxbox and KDM/GDM on Slack 8.1 m32 Slackware 5 04-10-2003 08:54 PM
installing slack 8.1 and fluxbox N_A_J_M Slackware 2 02-04-2003 03:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration