Bug 421931 - kdm doesn't login a user automatically
Summary: kdm doesn't login a user automatically
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-settings
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: KDE4Live
TreeView+ depends on / blocked
 
Reported: 2007-12-12 16:44 UTC by Sebastian Vahl
Modified: 2007-12-12 18:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-12 17:18:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.




Note You need to log in before you can comment on or make changes to this bug.