The text file is /etc/X11/window-manager. man chksession to
get some clues on what to do with it. It isn't that simple however:
you still have to convince kdm/xdm to actually list the new
session. In Mandrake 7.1, for instance, you log in using some
existing session e.g. to KDE, open Control Centre-System-Login
Manager, and add the new session name for the new entry in
/etc/X11/window-manager. I don't know why it is not updated
automatically, maybe just a Mandrake 7.1 bug. You are right about
the lack of documentation, I had to start with /etc/inittab and
track down how kdm gets started blow-by-blow until I found
that command chksession was called in a script.
>Date: Thu, 14 Dec 2000 21:34:10 +0000 (GMT)
>From: Mark Page <mpage at esatclear.ie>
>To: ilug at linux.ie>Subject: [ILUG] Mandrake 7.2 and Graphical login
>>Upon install of 7.2, gdm, or is it kdm (it's not clear), presents you with
>a list of sessions, one of which includes Gnome.
>>I decided to install the RPM's off 7.1 for Enlightenment (which was always
>presented as a session option under 7.1). It installed no problem and was
>presented as an option under the Gnome Control Centre but not under gdm. I
>cannot find how you amend the graphical login manager to include as a
>separate option!!
>>I then updated Gnome from one of the Linux Format magazines using the
>Helix installer. No problems until I re-booted, and, lo and behold the
>graphical login had now removed Gnome as an option. I can't get the option
>back.
>>I have written before on the issue of gdm/kdm. I still haven't got the
>problem solved and definitely in all my attempts over the last two years I
>cannot find any distro. which contains a man page or explanation as to how
>you add a window manager or as to how you configure the login to achieve.
>>Surely when you are presented with the option of a window manager at login
>there must be a text file that says 'when you add 'such and such' it must
>point to 'some directory' to work'.
>>Any help appreciated.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!