[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kdm
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2010-02-21 11:00:33
Message-ID: 1266750033.273074.22280.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1093650 by ossi:

Xservers is long dead, and so is sessreg

kdm does not use an Xservers config file any more, so don't mention it
in the README.

the lack of the file would also make BSD-style sessreg invocations fail.
kdm has built-in sessreg anyway, so don't write config examples using
the external one.

BUG: 211854

 M  +1 -1      README  
 M  +4 -30     kfrontend/genkdmconf.c  


--- trunk/KDE/kdebase/workspace/kdm/README #1093649:1093650
@@ -46,7 +46,7 @@
 ${kde_datadir} is usually ${prefix}/share/apps
 The indented locations are envisioned for a configuration shared with GDM.
 
-${kde_confdir}/kdm/{kdmrc,Xservers,Xaccess,Xwilling,...}
+${kde_confdir}/kdm/{kdmrc,Xaccess,Xwilling,...}
 ${kde_datadir}/kdm/sessions/*.desktop
   /etc/X11/sessions/,/usr/share/xsessions/
 ${kde_datadir}/kdm/pics/users/
--- trunk/KDE/kdebase/workspace/kdm/kfrontend/genkdmconf.c #1093649:1093650
@@ -646,26 +646,9 @@
 "#\n"
 "#chown $USER /dev/console\n"
 "\n"
-#ifdef _AIX
-"# We create a pseudodevice for finger.  (host:0 becomes xdm/host_0)\n"
-"# Without it, finger errors out with \"Cannot stat /dev/host:0\".\n"
-"#\n"
-"#devname=`echo $DISPLAY | cut -c1-8`\n"
-"#if [ ! -d /dev/xdm ]; then\n"
-"#  mkdir /dev/xdm\n"
-"#  chmod 755 /dev/xdm\n"
-"#fi\n"
-"#touch /dev/xdm/$devname\n"
-"#chmod 644 /dev/xdm/$devname\n"
-"#exec sessreg -a -l xdm/$devname -h \"`echo $DISPLAY | cut -d: -f1`\""
-#else
-"#exec sessreg -a -l $DISPLAY -h \"`echo $DISPLAY | cut -d: -f1`\""
-# ifdef BSD
-" -x " KDMCONF "/Xservers"
-# endif
-#endif /* _AIX */
-" $USER\n"
-"\n# NOTE: The session is aborted if the last command returns non-zero.\n";
+"# XDM configurations typically have sessreg here. KDM has it built-in.\n"
+"\n"
+"# NOTE: The session is aborted if the last command returns non-zero.\n";
 
 static const char def_reset[] =
 "#! /bin/sh\n"
@@ -677,16 +660,7 @@
 "#chown root /dev/console\n"
 "#chmod 622 /dev/console\n"
 "\n"
-#ifdef _AIX
-"#devname=`echo $DISPLAY | cut -c1-8`\n"
-"#exec sessreg -d -l xdm/$devname -h \"`echo $DISPLAY | cut -d: -f1`\""
-#else
-"#exec sessreg -d -l $DISPLAY -h \"`echo $DISPLAY | cut -d: -f1`\""
-# ifdef BSD
-" -x " KDMCONF "/Xservers"
-# endif
-#endif /* _AIX */
-" $USER\n";
+"# XDM configurations typically have sessreg here. KDM has it built-in.\n";
 
 static const char def_session1[] =
 "#! /bin/sh\n"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic