[LightDM] Logging out of autologin

Robert Heller heller at deepsoft.com
Tue Dec 9 19:35:31 PST 2014


At Tue, 09 Dec 2014 17:27:33 -0500 lightdm.bobd at dfgh.net wrote:

> 
> Greetings,
> 
> Today's behavior, when you log out of autologin mode, is to give you a
> standard greeter login (i.e. it takes you out of autologin mode).
> 
> I feel it would be more intuitive and useful if it simply logged you
> back in again with a fresh desktop. This matches the sort of use we'd
> anticipate in a cyber-cafe/kiosk type environment, for example.
> 
> Does anybody feel that today's behavior is useful, rather than a bug?

Yes it *very* useful. We have a batch of machines at our public library that
boot diskless via DRBL. The default behavour is to log into pre-configured
guest accounts after 30 seconds. Most users are library patrons who don't have 
a personal account and are just surfing the web, including the library's 
on-line card catalog (actually regional library card catalog), or reading 
E-Mail via webmail, or doing things like printing word processing document, 
etc. A few people have real user accounts (such as myself as the IT person). 
So I would log out the guest user, log in as myself, and when *I* am done, I 
logout, and the machine will (re-)login to the guest account after 30 seconds.

This is in fact the typical behavour of gdm (eg GNome).

Note: for awhile lightdm *did not* obey the autologin after the first time.
This has been fixed in recent versions (including the 10.x series that is part
of Ubuntu 14.04 LTS).  This partitular *bug* should have been fixed.  If you 
are using an older version of lightdm, you should update it.

> 
> If the current behavior is useful, does anybody know a way to get the
> behavior I was expecting without code modifications to lightdm?  

Set the auto login timeout to 0 (or maybe 1 -- sometimes 0 is used to indicate 
infinity). 

> 
> Thanks,
>     Bob
> 
> 
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
> 
>                             

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                                                                                                          


More information about the LightDM mailing list