Le Vendredi 5 Avril 2002 09:31, Lonnie Borntreger a �crit :
> 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>&
A bit less intrusive: add /opt/kde3/bin to PATH defined at line 3
> 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
And again, just add needed line at the end of current fndSession script.
See attached patches below. Chmouel, any chance of having those patches merged
?
--
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
--- prefdm 2002-04-10 11:17:45.000000000 +0200
+++ prefdm.new 2002-04-10 10:51:21.000000000 +0200
@@ -1,6 +1,6 @@
#!/bin/sh
-PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/opt/kde3/bin
HOME=/root
export HOME
--- fndSession 2002-04-10 11:18:22.000000000 +0200
+++ fndSession.new 2002-04-10 11:18:41.000000000 +0200
@@ -8,11 +8,16 @@
exit 1
}
-if [ -e /usr/share/config/kdm/kdmrc ];then
+if [ -e /opt/kde3/share/config/kdm/kdmrc ];then
LIST="`/usr/sbin/chksession -k`" perl -pi -e 's|^SessionTypes=.*|$ENV{LIST}|'\
- /usrshare/config/kdm/kdmrc
+ /opt/kde3/share/config/kdm/kdmrc
fi
if [ -d /etc/X11/gdm/Sessions ];then
/usr/sbin/chksession -g
fi
+
+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