Sam Varshavchik
2015-Jun-07 01:50 UTC
[LightDM] Problem with a non-0 autologin-user-timeout
I've installed the following in /etc/lightdm/lightdm.conf.d/10-autologin.conf [SeatDefaults] autologin-user=mrsam autologin-user-timeout=0 This works fine. The system boots straight into my xfce desktop, don't even see the lightdm or lightdm-gtk-greeter. But if I change autologin-user-timeout, say five seconds, I boot to the login screen, and nothing happens no matter how long I wait. A minute, a few more minutes, and eventually the screensaver kicks in. May or may not be related: I was originally running gdm, with a timed autologin, but after upgrading to Fedora 22, the timed autologin stopped working in gdm, too. gdm's own greeter counts down the timer delay with a progress bar, and it was counting off the delay, as usual, but it was stopping when it reached the full length of the delay, and was not logging me. So, since I switched everything on my desktop to xfce, except for gdm, I figured this was a good excuse to switch to lightdm. Configuring an automatic login was easy, but an automatic login after a timeout also isn't working, apparnetly, for some reason, like gdm. Strange. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20150606/282cb770/attachment.sig>
On 07.06.2015 03:50, Sam Varshavchik wrote:> I've installed the following in /etc/lightdm/lightdm.conf.d/10-autologin.conf > > [SeatDefaults] > autologin-user=mrsam > autologin-user-timeout=0 > > This works fine. The system boots straight into my xfce desktop, don't even > see the lightdm or lightdm-gtk-greeter. > > But if I change autologin-user-timeout, say five seconds, I boot to the > login screen, and nothing happens no matter how long I wait. A minute, a few > more minutes, and eventually the screensaver kicks in. > > May or may not be related: I was originally running gdm, with a timed > autologin, but after upgrading to Fedora 22, the timed autologin stopped > working in gdm, too. gdm's own greeter counts down the timer delay with a > progress bar, and it was counting off the delay, as usual, but it was > stopping when it reached the full length of the delay, and was not logging > me. > > So, since I switched everything on my desktop to xfce, except for gdm, I > figured this was a good excuse to switch to lightdm. Configuring an > automatic login was easy, but an automatic login after a timeout also isn't > working, apparnetly, for some reason, like gdm. Strange. >You need a higher version from the one in Fedora, in fact the latest version, e.g. $ rpm -q lightdm lightdm-gtk lightdm-1.15.0-2.fc22.x86_64 lightdm-gtk-2.0.1-2.fc22.x86_64 Here you can find source rpms: http://goo.gl/Gm4ffO SRPMS/Extra.tar Ref. "fix-timed-autologin" http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/revision/328