From kde-devel Sat Oct 02 09:31:22 2004 From: Raphael Langerhorst Date: Sat, 02 Oct 2004 09:31:22 +0000 To: kde-devel Subject: Re: kde-3.3.0 stops keyboard Message-Id: <200410021131.22932.raphael-langerhorst () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-devel&m=109670954207968 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_qVnXBt1tn9EWlqz" --Boundary-00=_qVnXBt1tn9EWlqz Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 01 October 2004 20:22, Z=E9 wrote: > [...] > > Note: i cant use the kdmrc generated by /usr/bin/genkdmconf because > when in the kdm dialog window after i enter the pass i dont enter > in kde, and instead appears again the kdm login window. You could use the attached patch to generate correct kdm=20 configuration, if you build from sourcecode, otherwise read on. Especially in the share/config/kdm/Xsession file of your KDE=20 installation THIS: " eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login; if=20 (-f ~/.login) source ~/.login; /bin/sh -c set | egrep -v=20 \"^(BASH_VERSINFO|EUID|PPID|UID|_)=3D\"'`\n" needs to be replaced with THIS: " eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login=20 > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c=20 set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|GROUPS|SHELLOPTS| _)=3D\"'`\n" Make sure that you remove the line breaks when you insert this into=20 your Xsession file. Of course it's difficult to tell whether this is exactly your problem,=20 but the symptoms ("can't log in when using kdm") seem to be the same. As far as I know genkdmconf should produce correct output in KDE 3.3.1=20 (the bug is fixed there as far as I know). KDE 3.3.1 should be=20 available in a few days. Hope that helps, Raphael > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to > >> unsubscribe << =2D-=20 G System, The Evolving Universe - http://www.g-system.at --Boundary-00=_qVnXBt1tn9EWlqz Content-Type: text/x-csrc; charset="iso-8859-1"; name="patch-kdm-kfrontend-genkdmconf.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-kdm-kfrontend-genkdmconf.c" --- kdm/kfrontend/genkdmconf.c.orig Thu Aug 5 20:57:04 2004 +++ kdm/kfrontend/genkdmconf.c Wed Sep 15 18:18:11 2004 @@ -578,7 +578,7 @@ "# by Xsetup usually.\n" "# This is not required if you use PAM with the pam_console module.\n" "#\n" -"#chown $USER /dev/console\n" +"chown $USER /dev/console\n" "\n" #ifdef _AIX "# We create a pseudodevice for finger. (host:0 becomes xdm/host_0)\n" @@ -619,8 +619,8 @@ "# Reassign ownership of the console to root, this should disallow\n" "# assignment of console output to any random users's xterm. See Xstartup.\n" "#\n" -"#chown root /dev/console\n" -"#chmod 622 /dev/console\n" +"chown root /dev/console\n" +/* "#chmod 622 /dev/console\n" */ "\n" #ifdef _AIX "if [ -f /usr/lib/X11/xdm/sessreg ]; then\n" @@ -668,7 +668,7 @@ " # [t]cshrc is always sourced automatically.\n" " # Note that sourcing csh.login after .cshrc is non-standard.\n" " set -a\n" -" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login; if (-f ~/.login) source ~/.login; /bin/sh -c set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|_)=\"'`\n" +" eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login > /dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c set | egrep -v \"^(BASH_VERSINFO|EUID|PPID|UID|GROUPS|SHELLOPTS|_)=\"'`\n" " set +a\n" " ;;\n" " *) # Plain sh, ksh, and anything we don't know.\n" --Boundary-00=_qVnXBt1tn9EWlqz Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --Boundary-00=_qVnXBt1tn9EWlqz--