On 12/09/2014 10:35 PM, Robert Heller - heller at deepsoft.com wrote:> Set the auto login timeout to 0 (or maybe 1 -- sometimes 0 is used to indicate > infinity). >Does the autologin timeout feature require coordination with the greeter itself? I'm finding that while this works well with unity-greeter, it's not working with lightdm-kde-greeter. The KDE greeter simply blocks authenticating, rather than proceeding to autologin. Does this make sense, or might I be doing something else wrong? Bug in lightdm-kde-greeter? -Bob
I note this works with lightdm-gtk-greeter as wel. So it looks like a bug in lightdm-kde-greeter to me. Can somebody confirm that the greeter must participate in this feature for it to work properly, so a bug in lightdm-kde-greeter is plausible? If so, I'll file the bug. Thanks, Bob On 12/17/2014 01:58 PM, lightdm.bobd at dfgh.net wrote:> On 12/09/2014 10:35 PM, Robert Heller - heller at deepsoft.com wrote: > >> Set the auto login timeout to 0 (or maybe 1 -- sometimes 0 is used to indicate >> infinity). >> > > Does the autologin timeout feature require coordination with the greeter > itself? > > I'm finding that while this works well with unity-greeter, it's not > working with lightdm-kde-greeter. The KDE greeter simply blocks > authenticating, rather than proceeding to autologin. > > Does this make sense, or might I be doing something else wrong? > > Bug in lightdm-kde-greeter? > > -Bob > > _______________________________________________ > LightDM mailing list > LightDM at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/lightdm >
On Thu Dec 18 2014 at 07:58:40 <lightdm.bobd at dfgh.net> wrote:> On 12/09/2014 10:35 PM, Robert Heller - heller at deepsoft.com wrote: > > > Set the auto login timeout to 0 (or maybe 1 -- sometimes 0 is used to > indicate > > infinity). > > > > Does the autologin timeout feature require coordination with the greeter > itself? >Yes, the daemon informs the greeter that an autologin timer should be used and provides a signal that the greeter can connect to that times out after this. It is recommended that greeters do their own timer though so they can indicate to the user the remaining time and cancel it on user interaction. For liblightdm-gobject: lightdm_greeter_get_autologin_timeout_hint () gets the timeout in seconds. lightdm_greeter_authenticate_autologin () should be called after this many seconds if not cancelled. You can connect to the "autologin-timer-expired" signal if you want to use the built in one and cancel it with lightdm_greeter_cancel_autologin (). For liblightdm-qt: QLightDM::Greeter::autologinTimeoutHint() gets the timeout. autologinTimerExpired() signal is emitted after this many seconds. I notice the cancelAutologin() was never added - I'll add that now. --Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20141217/243c31b7/attachment.html>