Bug 421931 - kdm doesn't login a user automatically
kdm doesn't login a user automatically
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kde-settings (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
:
Depends On:
Blocks: KDE4Live
  Show dependency treegraph
 
Reported: 2007-12-12 11:44 EST by Sebastian Vahl
Modified: 2007-12-12 13:01 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-12-12 12:18:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Sebastian Vahl 2007-12-12 11:44:45 EST
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 11:46:15 EST
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 11:52:00 EST
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 12:07:19 EST
(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 Ngo Than 2007-12-12 12:12:07 EST
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 Ngo Than 2007-12-12 12:18:04 EST
it's fixed in rawhide
Comment 6 Sebastian Vahl 2007-12-12 12:35:51 EST
(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.