You can do it with a little hacking.

As root, go to /etc/X11, edit the prefdm file, look near the end where
it execs the "preferred" dm and add this line right before it.

exec /opt/kde3/bin/kdm $* >/dev/null 2>&1

Then you need to create a fndSession file for kde3 to make so that the
KDE3 kdm knows what sessions you have.  I've attached mine.  Install it
as /usr/sbin/fndSession3

Then do (still as root):
$ init 3
$ /usr/sbin/fndSession3
$ init 5

That's what I did and it works like a charm.... of course fndSession3
"may" use something that comes with KDE2 (I still have both installed). 
If it can't find anything, let me know and I'll send that too.

On Fri, 2002-04-05 at 00:01, Jeremy Salch wrote:
    Does anyone know how to make the system use KDE3's KDM  instead of having to 
    have kde2 installed to use just kdm..   when i uninstall kdebase for kde2  
    kdm disappears and i can't seem to make it take kde3's kdm    *shrugs*   i 
    don't konw   things are very strange

-- 
TTFN,
Lonnie Borntreger
#!/bin/sh
# fndSession (c) MandrakeSoft, Chmouel Boudjnah <[EMAIL PROTECTED]>
## FindSession for kdm and gdm.

[ -x /usr/sbin/chksession ] || {
    echo "I can't find /usr/sbin/chksession"
    echo "check your installation"
    exit 1
}

if [ -e /opt/kde3/share/config/kdm/kdmrc ];then
LIST="`/usr/sbin/chksession -k`" perl -pi -e 's|^SessionTypes=.*|$ENV{LIST}|'\
    /opt/kde3/share/config/kdm/kdmrc
fi

Reply via email to