[arch-general] LightDM autologin not working

Stephen Baker baker.stephen.e at gmail.com
Fri Jun 20 20:18:03 EDT 2014


On 2014-06-20 12:22, Daniel Leining wrote:
> I don't think you're doing anything wrong. Your setup is almost identical
> to mine.
>
>   % cat /etc/lightdm/lightdm.conf | grep -v "^#"
> [LightDM]
> greeter-user=lightdm
> minimum-vt=1
> log-directory=/var/log/lightdm
> run-directory=/run/lightdm
>
> [SeatDefaults]
> greeter-session=lightdm-gtk-greeter
> session-wrapper=/etc/lightdm/Xsession
> autologin-user=daniel
> autologin-user-timeout=0
> pam-service=lightdm-autologin
Ah, I see your autologin-* lines are under [SeatDefaults] and mine are 
above.  I fixed that and it's working now.
>
> [XDMCPServer]
>
> [VNCServer]
> #End of file
>
>
> On Thu, Jun 19, 2014 at 10:27 PM, Stephen Baker <baker.stephen.e at gmail.com>
> wrote:
>
>> Hello,
>>
>> I've been trying to get autologin working in LightDM on my mediacenter
>> without success.  I believe I've copied all the instructions in the wiki
>> page, and I'm not seeing where the problem is.
>>
>> mediacenter% cat /etc/lightdm/lightdm.conf | grep -v "^#"
>> [LightDM]
>> minimum-vt=1
>> run-directory=/run/lightdm
>>
>> autologin-user=family
>> autologin-user-timeout=0
>> [SeatDefaults]
>> session-wrapper=/etc/lightdm/Xsession
>> pam-service=lightdm-autologin
>>
>>
>> [XDMCPServer]
>>
>> [VNCServer]
>> #End of file
>>
>> mediacenter% groups
>> adm disk wheel games video audio optical floppy storage power users family
>> autologin
>>
>> mediacenter% journalctl -b -u lightdm --no-pager
>> -- Logs begin at Mon 2012-10-22 16:11:18 EDT, end at Thu 2014-06-19
>> 22:24:36 EDT. --
>> Jun 19 22:12:29 mediacenter systemd[1]: Started Light Display Manager.
>> Jun 19 22:12:36 mediacenter lightdm[699]: pam_unix(lightdm-greeter:session):
>> session opened for user lightdm by (uid=0)
>> Jun 19 22:16:25 mediacenter lightdm[723]: pam_unix(lightdm:session):
>> session opened for user family by (uid=0)
>>
>> # the last line was my manual login after waiting several minutes.
>>
>> Is there anything else I should be checking, or any caveats anyone is
>> aware of?
>>
Thanks!


More information about the arch-general mailing list