Bug 421931

Summary: kdm doesn't login a user automatically
Product: [Fedora] Fedora Reporter: Sebastian Vahl <fedora>
Component: kde-settingsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: fedora, kevin, ltinkl, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-12 17:18:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 421891    

Description Sebastian Vahl 2007-12-12 16:44:45 UTC
Description of problem:
kdm does not allow to login a user automatically on startup. Even it is 
allowed in kdmrc.
The message that is shown on startup is:

Login in <username> ...
Authentification failed

If you hit enter then and the message disappears, you are able to login 
normally.


Version-Release number of selected component (if applicable):
kdebase-workspace-3.97.0-2.fc9

How reproducible:
ever

Steps to Reproduce:
1. comment AutoLoginEnable=true in /etc/kde/kdm/kdmrc out
2. comment #AutoLoginUser=fred out and set it to your user
3. (re-)start kdm
  
Actual results:
Authentification failed

Expected results:
User logins automatically

Additional info:
Selinux is in permissive mode, so that is not causing the problem. It also 
fails with users which has no passwords (like on the live images)

Comment 1 Sebastian Vahl 2007-12-12 16:46:15 UTC
Oh. And there are no useful entries in /var/log/kdm or /var/log/messages, only 
maybe this one:
Dec 12 17:24:15 localhost kdm: :0[7885]: Fatal X server IO error: Broken pipe

Comment 2 Rex Dieter 2007-12-12 16:52:00 UTC
Likely a pam issue, kde3 needed a separate /etc/pam.d/kdm-np config, I think
kdebase-workspace/kde-settings is currently missing the equivalent.

Comment 3 Sebastian Vahl 2007-12-12 17:07:19 UTC
(In reply to comment #2)
> Likely a pam issue, kde3 needed a separate /etc/pam.d/kdm-np config, I think
> kdebase-workspace/kde-settings is currently missing the equivalent.

Is there a way to get more error messages? Only copying kdm-np from 
kdebase(3).fc8 don't fix this.



Comment 4 Than Ngo 2007-12-12 17:12:07 UTC
autologin requires kdm-np file (PAM) which is missing in kde-settings package. 
Just take the one from kdebase-3.5.8 and add into kde-settings, it should fix 
the problem

Comment 5 Than Ngo 2007-12-12 17:18:04 UTC
it's fixed in rawhide

Comment 6 Sebastian Vahl 2007-12-12 17:35:51 UTC
(In reply to comment #4)
> autologin requires kdm-np file (PAM) which is missing in kde-settings 
package. 
> Just take the one from kdebase-3.5.8 and add into kde-settings, it should 
fix 
> the problem

Ok. Only killing kdm wasn't enough for comment #3. After a reboot all is 
working as exspected.