Xubuntu / lightdm-gtk-greeter

A GTK greeter for LightDM
GNU General Public License v3.0
150 stars 30 forks source link

LP#1379710 "Guest login not available with hide-users" #28

Open bluesabre opened 4 years ago

bluesabre commented 4 years ago

Reported first on Launchpad at https://bugs.launchpad.net/lightdm-gtk-greeter/+bug/1379710

LP#0: Dominik George (natureshadow) wrote on 2014-10-10:

In the LightDM GTK+ Greeter 1.8.5, there is no option to start a guest session if the user list is hidden. It can only be selected when hide-users is set to false.

bluesabre commented 4 years ago

LP#1: Dominik George (natureshadow) wrote on 2014-10-10:

I looked at the code and found a workaround. The guest entry in the user dropdown injects the string "*guest" into the username for authentication.

Entering *guest as username does the trick. I think that this is also a bug - the codeflow can be changed with special values entered into the username field - but it gives a running guest session ;).

(Hint: You can also enter *other to trigger the code normally run by the "Other ..." entry in the user combo, which changes the display state of the username field.)

bluesabre commented 4 years ago

LP#2: Andrew P. (kalgasnik) wrote on 2014-10-10:

Let's call this bug "a feature" and document it. Except of its "*other" part - it must be fixed.

bluesabre commented 4 years ago

LP#3: Sean Davis (bluesabre) wrote on 2014-10-10:

For future consideration, maybe we can add a button to the bottom left for "Guest Login"?

bluesabre commented 4 years ago

LP#4: Andrew P. (kalgasnik) wrote on 2014-10-11:

Just for hide-users mode. I think it is better to add special column to "users" model - TYPE - to prevent things like this.

bluesabre commented 4 years ago

LP#5: Andrew P. (kalgasnik) wrote on 2014-10-11:

Last line in my message disappeared. And use this type in all functions with "username" argument. There are 2 or 3 such functions that really need it.