Linux - NewbieThis 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.
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.
I've got installed fluxbox on my FC3 system. And now I want it to make
it the default window manager (but by console!). I want GNOME to
be replaced by fluxbox, so that I don't have to change each time
at the login-screen the session-type to fluxbox.
Can someone tell me, which files I do have to edit?
Why? It is far more easier to just login into Flux and a msg box will pop up and say "Fluxbox is not your default Desktop, would you like to make it?" and it will give you two options, "Just for this session" or "keep as default"
(I’m not to sure on the actual wording but its something like that.)
The only other way I know of is too edit the desktop file, I’m not on Linux at the moment but I think it is /etc/desktop (I'll confirm this when I get home) and you can change the settings there and save it. (Will need to be root)
The problem is, I didn't get this messagebox. I installed via yum and logged out,
changed the session type to fluxbox and that was it. No popup nothing...
Any ideas? Maybe a post of your /etc/sysconfig/desktop and your
/etc/X11/prefdm may help.
#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
# shut down any graphical boot that might exist
if [ -x /usr/bin/rhgb-client ]; then
/usr/bin/rhgb-client -quit
fi
# We need to source this so that the login screens get translated
[ -f /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
fi
fi
shopt -s execfail
[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1
# Fallbacks, in order
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1
# catch all exit error
exit 1
Thanks for posting your config files.
My files looked the same, with one exception:
I had only instead of
DISPLAYMANAGER=GNOME
this one:
DISPLAYMANAGER=KDE
This makes me crazy... Another question. How did you proceed to install fluxbox?
And what have you had installed before? On my system was GNOME and KDE installed.
System-Default was GNOME. Then I used yum to install fluxbox (yum install fluxbox).
That was everything that has be done.
Why did you get a message-box where you've been asked, if you wanted to have
fluxbox your default session-type?
I had only instead of
DISPLAYMANAGER=GNOME
this one
DISPLAYMANAGER=KDE
Thats probably why, the display manager manages your login screen, and the message appears when you log in. Try changing to GNOME instead of KDE, GNOME is better anyway IMO.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.