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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-02-2003, 12:36 AM
|
#1
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Rep:
|
Install Fluxbox
I've had SuSE 8.1 installed for about a week. Can anyone pretend they're explaining something to a child and tell me how to install Fluxbox and get it in the sessions list at the graphical login? I've searched this forum and several others. People are talking about writing scripts and editing things with certain tools that I know nothing about. I downloaded the tarball and source.rpm.
|
|
|
01-02-2003, 03:28 AM
|
#2
|
Member
Registered: Aug 2002
Location: Egypt
Distribution: Debian Sarge, Slackware 10.0
Posts: 163
Rep:
|
Here's the instructions for installing Fluxbox :
1 -
tar -xvzf fluxbox*
2 -
cd fluxbox*
3 -
Run the configure script :
then,
finally,
4 -
If you're using GDM as a graphical login, create a new file called fluxbox in /etc/X11/gdm/Sessions .
Then, you have to write in it the path of Fluxbox :
/usr/local/bin/fluxbox
5 -
Save and close the file.
6-
chattr +i fluxbox
I don't know how to add sessions in other login managers like kdm or xdm
Hope that helps,
hfawzy
|
|
|
01-02-2003, 04:33 AM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Cool, nice instructions
fyi kdm uses the settings from xdm.
|
|
|
01-02-2003, 06:06 AM
|
#4
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Original Poster
Rep:
|
I'm stuck in step 4. KDM does use xdm, but once I get to file:/etc/X11/xdm there's no Session directory. There's a bash Xsession file, but running that just logs me out and bring graphical login back up.
|
|
|
01-02-2003, 06:32 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Nah, if you are using kdm you create an entry in:
/etc/X11/wmsession.d
Mine looks like this in Mandrake:
Code:
root@masterc:/etc/X11/wmsession.d# ls
01KDE 02GNOME 03WindowMaker 04Enlightenment 05blackbox 06XFce 16fluxbox
And if I open up the text file 16fluxbox it looks like this:
Code:
root@masterc:/etc/X11/wmsession.d# cat 16fluxbox
NAME=FluxBox
ICON=fluxbox.png
EXEC=/usr/X11R6/bin/startfluxbox
DESC=A Light and nice looking window manager
SCRIPT:
exec /usr/X11R6/bin/startfluxbox
And then:
Code:
root@masterc:/usr/X11R6/bin# cat startfluxbox
/usr/X11R6/bin/bsetroot -solid Black
exec /usr/X11R6/bin/fluxbox
root@masterc:/usr/X11R6/bin#
HTH
Cool
|
|
|
01-02-2003, 06:45 AM
|
#6
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Original Poster
Rep:
|
No /etc/X11/wmsession.d
file:/etc/X11
dirs:
fs
kd3
lbproxy
proxymngr
rstart
susewm
twm
xdm
xinit
xkb
xserver
xsm
textfiles:
qtrc
XF86Config
X86Config.saxsave
Xmodmap
Xmodmap.remote
|
|
|
01-02-2003, 07:00 AM
|
#7
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Original Poster
Rep:
|
I searched for that file and it doesn't exist.
|
|
|
01-02-2003, 07:04 AM
|
#8
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Original Poster
Rep:
|
Umm okay. I saw fluxbox in the list of sessions at login and chose it. It works fine. I don't understand how I didn't have to do anything and everyone else had to create and edit files. Weird.
Thanks for your help anyhow guys! I appreciated it.
|
|
|
01-02-2003, 07:08 AM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
.... Hmmm ....
So:
updatedb &&
locate wmsession.d
Brought up nothing, and the directory is non-existent. Very odd indeed. I can only guess it's not KDM you are using? You don't have gdm there either though? How odd indeed. Can you post here what's in your xdm directory?
To paste from a terminal:
highlight the text to be posted, click inside the browser, and then press the middle button to paste the highlighted information.
Cool
|
|
|
01-02-2003, 07:10 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
It probably depends on what file version of flux you install. If it's a SuSE specifc rpm I'd think that it might create the necessary entries for you. But it looks like it wasn't one, yet it still worked. SuSE really does a decent job at doing things for you. This can be good, or bad, depending on how you look at things.
At least you've got it running! Flux rocks
Cool
|
|
|
01-02-2003, 07:22 AM
|
#11
|
Member
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482
Original Poster
Rep:
|
snocked@linux:/etc/X11/xdm> ls
BackGround RunChooser Xresources Xsetup chooser xdm-errors
GiveDevices TakeDevices Xservers Xstartup pixmaps xdm-pid
README.SuSE Xaccess Xservers.fs Xwilling sys.xsession
README.security Xreset Xsession authdir xdm-config
|
|
|
01-02-2003, 07:31 AM
|
#12
|
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Rep:
|
just switch to using gdm - it's easier
|
|
|
01-14-2003, 06:43 PM
|
#13
|
LQ Newbie
Registered: Jan 2003
Posts: 2
Rep:
|
How do I switch to gdm?
|
|
|
01-14-2003, 07:34 PM
|
#14
|
Senior Member
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Rep:
|
what distro are you using?
|
|
|
02-01-2003, 06:09 PM
|
#15
|
LQ Newbie
Registered: Feb 2003
Location: Canada
Distribution: RedHat 8.0
Posts: 1
Rep:
|
Sorry to bring this up but I'm a newb at this. I have RedHat 8.0 installed and when I try to configure it I get:
Code:
[root@localhost fluxbox-0.1.14]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/Admin/Duvien/Downloads/LinuxShell/fluxbox/fluxbox-0.1.14/missing: Unknown
`--run' option
Try `/home/Admin/Duvien/Downloads/LinuxShell/fluxbox/fluxbox-0.1.14/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
[root@localhost fluxbox-0.1.14]#
Can anyone help me?
|
|
|
All times are GMT -5. The time now is 09:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|