You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, September 5th 2004, 4:43am

How do I add another window manager to kdm login?

I just installed fluxbox and wanted to try it out, but I can't seem to figure out how to get the fluxbox option in the drop-down menu in the login manager. I remember in an older version of KDE, it was in the login manager config tool, but I can't seem to find it in 3.2. I read the help files about kdmrc, but I can't seem to find anything that lists the different window manager options. If anyone could help me out, I'd be forever grateful. Also, I'm using Mandrake 10 if that makes any difference. Thanks.
-Kris

Amoeba

Trainee

Posts: 115

Location: http://seattle.wa.u$

Occupation: Urban guerilla

  • Send private message

2

Sunday, September 5th 2004, 8:30pm

change directory => /etc/X11/Sessions

You should already see kde-<version>. If you don't see anything else, you'll need to create one for flux. If you need to create one, it's just a simple bash script with on line of code. Example: for blackbox => /usr/bin/black

Create the file named fluxbox.
-- rm -fr /etc/whitehouse
-- Gentoo | udev | Xorg 6.8.2 | 2.6.14-r4 | KDE 3.5.0

3

Monday, September 6th 2004, 8:17am

What distribution are you using? I don't have a Sessions folder or a similar file in /etc/X11/
Actually, there's no files pertaining to KDE in /etc/X11/
Weird....What distribution/kernel are you using, and what version of KDE are you running?
-Kris

#edit
I didn't bother looking ar your sig before I wrote...
Apparently Gentoo w/ 2.6.9-rc1-mm3 and KDE 3.3.0 has a different directory structure than Mandrake 10 w/ 2.6.3-7mdk and kde 3.2.x.

It really shouldn't be this difficult to config KDM...

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

4

Monday, September 6th 2004, 11:44am

try the following:

cd `kde-config --prefix`/share/config/kdm

open up Xsession in your favourite editor (as root).

add the following lines (just the fluxbox part below), where you see it shoud go:

[code:1]
case $1 in
""&#41;
exec xmessage -center -buttons OK&#58;0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
;;
failsafe&#41;
exec xterm -geometry 80x24-0-0
;;
fluxbox&#41;
exec PATH_TO_FLUXBOX
;;
custom&#41;
exec $HOME/.xsession
;;
default&#41;
exec /opt/kde3/bin/startkde
;;
*&#41;
eval exec "$1"
;;
esac
[/code:1]

5

Monday, September 6th 2004, 3:31pm

If you are using the KDE login manager then you can alter your session type when you log in. I can't remember the menu name exactly but it's fairly obvious.

Amoeba

Trainee

Posts: 115

Location: http://seattle.wa.u$

Occupation: Urban guerilla

  • Send private message

6

Monday, September 6th 2004, 11:15pm

Quoted

Original von kersten78

What distribution are you using? I don't have a Sessions folder or a similar file in /etc/X11/
Actually, there's no files pertaining to KDE in /etc/X11/
Weird....What distribution/kernel are you using, and what version of KDE are you running?
-Kris

#edit
I didn't bother looking ar your sig before I wrote...
Apparently Gentoo w/ 2.6.9-rc1-mm3 and KDE 3.3.0 has a different directory structure than Mandrake 10 w/ 2.6.3-7mdk and kde 3.2.x.

It really shouldn't be this difficult to config KDM...


No quite. Directory structure is exactly the same and is irrelvant. What's different is where packages are installed at config time. What kernel/distro I'm running makes NO difference whatsoever. I have no idea where mandrake installs X and kde, by default. That's what you really need to find out.

It's not difficult to configure KDM. You're just not finding the right place. AFAIK, KDM looks [by default] in /etc/X11/Sessions.
-- rm -fr /etc/whitehouse
-- Gentoo | udev | Xorg 6.8.2 | 2.6.14-r4 | KDE 3.5.0