Bug 70547 - Auto Login Authentication failure
Summary: Auto Login Authentication failure
Status: RESOLVED DUPLICATE of bug 68331
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 00:21 UTC by Nathan Toone
Modified: 2008-05-19 17:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Toone 2003-12-16 00:21:24 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    SuSE RPMs

When set to automatically log in, I get an error dialog:

"Authenticating <username>..."
"Authentication failed."

When starting kdm in debug mode (with -debug 1), I get the following messages in my syslog:

Dec 15 16:14:33 linux kdm[1611]: WaitForSomething
Dec 15 16:14:37 linux kdm[1614]: after XOpenDisplay(:0)
Dec 15 16:14:37 linux kdm[1614]: ManageSession :0
Dec 15 16:14:37 linux kdm: :0[1614]: autoLogon, tdiff = 1071530062, rLogin = 0, goodexit = 0, nuser = (null)
Dec 15 16:14:37 linux kdm: :0[1614]: Verify ...
Dec 15 16:14:37 linux kdm: :0[1614]:  PAM service xdm-np
Dec 15 16:14:37 linux kdm: :0[1614]: opening new PAM handle
Dec 15 16:14:37 linux kdm: :0[1614]:  pam_authenticate() ...
Dec 15 16:14:37 linux PAM-warn[1614]: function=[pam_sm_authenticate] service=[xdm-np] terminal=[:0] user=[ntoone] ruser=[<unknown>] rhost=[<unknown>]
Dec 15 16:14:37 linux kdm: :0[1614]: PAM_conv
Dec 15 16:14:37 linux kdm: :0[1614]:  PAM_PROMPT_ECHO_OFF (usecur): Password:
Dec 15 16:14:37 linux kdm: :0[1614]:  PAM_conv success
Dec 15 16:14:37 linux kdm: :0[1614]:  pam_authenticate() returned: Authentication failure
Dec 15 16:14:37 linux kdm: :0[1614]: starting greeter for :0
Dec 15 16:14:37 linux kdm: :0[1614]: loading resource file: /etc/X11/xdm/Xresources
Dec 15 16:14:37 linux kdm: :0[1617]: execute: /usr/X11R6/bin/xrdb /etc/X11/xdm/Xresources ; DISPLAY=:0 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin SHELL=/bin/sh XAUTHORITY=/var/lib/xdm/authdir/authfiles/A:0-umjcKv


This was working before I upgraded to the 3.2 beta - so I don't believe it is a PAM configuration issue.  The only chnage made was upgrading to the 3.2 beta.
Comment 1 Oswald Buddenhagen 2003-12-16 00:27:15 UTC
i bet 10:1 that this is the same problem ...

*** This bug has been marked as a duplicate of 68331 ***
Comment 2 Nathan Toone 2003-12-16 00:42:36 UTC
Worked great - it appears that SuSE doesn't include the new pam mechanisms either.  I just created a file /etc/pam.d/xdm-np (it was using xdm-np - not kdm-np) with the contents:

auth required /lib/security/pam_permit.so

Thanks for helping track that down!
Comment 3 Vince 2004-02-11 18:21:20 UTC
I wanted to let the powers that be know that I had this exact same problem with the Debian dist of 3.2 and was able to resolve using the method described by Nathan.  Thanks!
Comment 4 Jonah Naylor 2008-05-14 19:17:22 UTC
i've also got this problem in Kubuntu with kde 4.0.4

can't get any sort of auto-login going on