[LightDM] How to setup guest account
Dominik George
dominik.george at teckids.org
Fri Oct 10 02:58:14 PDT 2014
Hi,
> A quick look a the logic in lightdm-gtk-greeter seems to indicate
> there is a bug there. It will only allow manual login if the
> hide-users hint is set. The correct behaviour should be to show guest
> logins too.
>
> I suggest you file a bug [1].
I have done so, thanks:
https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1379710
Looking at the code, I have found a nasty hack in the code handling
selections from the users combo. The Guest entry magically injects a
string "*guest" into the authentication routine, the "Other ..." entry
inserts "*other" to make the authentication routine show the username field.
I think that is a nasty hack that could fire back some day should more
special options be added. Why aren't the combobox entries not linked to
proper code with signals, as is done for menu entries, etc.? I do not
see why a method designed for performing user authentication should be
used to change the display state of UI elements with a random username.
On the positive side, I have found that I can simply set hide-users to
true and then enter *guest as username to get what I want ;).
Cheers,
Nik
--
Dominik George (Vorstandsvorsitzender, Pädagogischer Leiter)
Teckids e.V. - Erkunden, Entdecken, Erfinden.
https://www.teckids.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 888 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20141010/b0f0c8b7/attachment.sig>
More information about the LightDM
mailing list