[LightDM] Auto login not working
Robert Ancell
robert.ancell at gmail.com
Mon Jul 23 15:44:56 PDT 2012
I suspect it's your PAM configuration.
Things to check:
1. If you have GDM installed check that /etc/pam.d/lightdm-autologin
is the same as /etc/pam.d/gdm-autologin (there shouldn't be any
significant difference)
2. /etc/pam.d/lightdm-autologin should be the same as
/etc/pam.d/lightdm but just replacing the auth lines with:
auth required pam_permit.so
(i.e. always authenticate)
Unfortunately PAM is a bit of a black box when it comes to debugging,
you can have a look at /var/log/auth.log but not all modules clearly
log into it.
On 23 July 2012 17:59, Clemens Eisserer <linuxhippy at gmail.com> wrote:
> any ideas what could be the cause of my autologin-issues?
>
> Thank you in advance, Clemens
>
> 2012/7/19 Clemens Eisserer <linuxhippy at gmail.com>:
>> Hi Robert,
>>
>>> Can you attach /var/log/lightdm/lightdm.log after an attempted
>>> autologin? It will have the reason why. Also have a look at
>>> /etc/pam.d/lightdm-autologin which are the PAM rules that are used for
>>> autologins.
>>
>> Seems autologin is not permitted on my system:
>>>
>>> [+1.06s] DEBUG: Automatically logging in user ce
>>> [+1.06s] DEBUG: Started session 940 with service 'lightdm-autologin', username 'ce'
>>> [+1.07s] DEBUG: Session 940 authentication complete with return value 6: Permission denied
>>> [+1.07s] DEBUG: Autologin failed authentication
>>> [+1.07s] DEBUG: Session 940: Sending SIGTERM
>>
>>
>> Strange, it worked on Fedora 16.
>>
>> Contents of /etc/pam.d/lightdm-autologin are:
>>>
>>> #%PAM-1.0
>>> auth requisite pam_nologin.so
>>> auth required pam_env.so readenv=1
>>> auth required pam_env.so readenv=1 envfile=/etc/default/locale
>>> auth required pam_permit.so
>>> @include common-account
>>> session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
>>> session required pam_limits.so
>>> @include common-session
>>> session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
>>> @include common-password
>>
>> Thanks for taking time helping me :)
>>
>> - Clemens
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
More information about the LightDM
mailing list