I remember back in '98 when Justin Georgeson wrote:
> I'm starting to play with xdm to have my box bot into run level 5 (X11)
> so that my non-unix roomies don't have to agonize over remembering to
> type "startx" after they log in. Anyhow I've removed all the window
> managers expect twm, AfterStep, and KDE. I can't figure out how to
> configure xdm to load either one of these. What would be nice is to use
> KDM so I can choose AfterStep, KDE, or a command line. Anyone know how
> to do this, I tried sifting through the xdm man page but that didn't
> help. Thanks.
I'm not sure how your distribution sets things up (or even what it is!)
but the file /etc/X11/Xsession should be the right place to help you
load a different environment by default. If it's not there, try
'locate Xsession' to find it. It's just a script used to launch
things by default. Generally near the end there will be a line
starting the window manager.
WRT starting kdm instead of xdm, it also depends on how your
distribution is set up. One of the easiest ways to chance it
might be to symlink xdm (in /usr/X11R6/bin or whereever) to
kdm. One other advantage of KDM is that you get a choice of
sessions to start, which is kind of nice. If you don't want
to do this, you could try looking at /etc/inittab if it's
there, to see what script is called for runlevel 5
(in my case /etc/init.d/rc 5, which exec's files in /etc/rc5.d,
which are really symlinks to the real scripts in /etc/rc.init.d)
If you have a similar setup (SysV-like init) you would edit
the file in /etc/init.d the started xdm to start kdm, instead.
Matt
--
/* Matt Sayler -- [EMAIL PROTECTED] -- atwork?astronomy:cs
http://www.cs.utexas.edu/users/mpsayler -- (512)471-7450
Have you ever imagined a world with no hypothetical situations? */
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]