[LightDM] Auto login not working

Sergio sergiocmailbox-lightdm at yahoo.com.br
Mon Jul 23 07:31:56 PDT 2012



--- Em seg, 23/7/12, Clemens Eisserer <linuxhippy at gmail.com> escreveu:

> De: Clemens Eisserer <linuxhippy at gmail.com>
> Assunto: Re: [LightDM] Auto login not working
> Para: lightdm at lists.freedesktop.org
> Data: Segunda-feira, 23 de Julho de 2012, 2:59
> 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

Hi Clemens, I'm just a Fedora 17 user and it isn't an issue particular to your system. auto-login doesn't work here either.


More information about the LightDM mailing list