Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390863 - x11-misc/lightdm needs /etc/pam.d/lightdm-autologin file for autologin
Summary: x11-misc/lightdm needs /etc/pam.d/lightdm-autologin file for autologin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 19:30 UTC by Ben Kohler
Modified: 2011-11-19 20:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lightdm-autologin sample file (lightdm-autologin,359 bytes, text/plain)
2011-11-17 19:31 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2011-11-17 19:30:20 UTC
x11-misc/lightdm-1.0.6-r2, in its freshly-emerged state, cannot autologin, even after enabling the proper option(s) in /etc/lightdm/lightdm.conf.  I looked at a couple of bugs on launchpad & debian, and they mention that /etc/pam.d/lightdm-autologin is required, you can copy one from /etc/pam.d/gdm-autologin if you have gdm installed.

And I can confirm this, copying the file into place, and having autologin-user=foo in /etc/lightdm/lightdm.conf does work for autologins.

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-misc/lightdm-1.0.6-r2
2. set autologin-user=foo in /etc/lightdm/lightdm.conf
3. start lightdm via the xdm init script
Actual Results:  
lightdm starts, does not log in

Expected Results:  
autologin user foo
Comment 1 Ben Kohler gentoo-dev 2011-11-17 19:31:09 UTC
Created attachment 292937 [details]
lightdm-autologin sample file

Copied from a working gdm3 setup
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-11-19 20:27:32 UTC
This should be fixed in 1.0.6-r3