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

List:       kde-devel
Subject:    Re: kde-3.3.0 stops keyboard
From:       Raphael Langerhorst <raphael-langerhorst () gmx ! at>
Date:       2004-10-02 9:31:22
Message-ID: 200410021131.22932.raphael-langerhorst () gmx ! at
[Download RAW message or body]

On Friday 01 October 2004 20:22, Zé 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 
configuration, if you build from sourcecode, otherwise read on.

Especially in the share/config/kdm/Xsession file of your KDE 
installation THIS:

"    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"

needs to be replaced with THIS:

"    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"

Make sure that you remove the line breaks when you insert this into 
your Xsession file.

Of course it's difficult to tell whether this is exactly your problem, 
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 
(the bug is fixed there as far as I know). KDE 3.3.1 should be 
available in a few days.

Hope that helps,
Raphael

>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
G System, The Evolving Universe - http://www.g-system.at

["patch-kdm-kfrontend-genkdmconf.c" (text/x-csrc)]

--- 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"



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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