Fluxbox help on Slack
I thought this was gonna be easy...
Downloaded this : http://prdownloads.sourceforge.net/f...-0.1.14.tar.gz
After unpackaging everything, I run "./configure", then "make", then "make install". I followed the instructions on the faq (http://fluxbox.sourceforge.net/docs/en/faq.php#gdm) 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.
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.
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 :scratch: ). 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...
1. Duplicat a current working file in "/etc/gdm/Sessions/", and rename it to "fluxbox"
2. Edit the new "fluxbox" file, add this
4. Download this file "http://fluxbox.bottino.com/files/fluxbox-0.1.14-i386-1.tgz". Unpack, and find the file "xinitrc.fluxbox".
5. Copy "xinitrc.fluxbox" to "/etc/X11/Xinit/xinitrc.fluxbox".
Thanks guys, If I had not posted, I sould have given up :tisk: .
#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
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.
|All times are GMT -5. The time now is 05:26 AM.|