Antergos / web-greeter

A modern, visually appealing greeter for LightDM.
http://antergos.github.io/web-greeter
GNU General Public License v3.0
233 stars 57 forks source link

`lightdm.authenticate()` without a username does not cause a prompt #162

Open TLATER opened 6 years ago

TLATER commented 6 years ago

As the title says, simply calling lightdm.authenticate() does not appear to cause a prompt process to start - although the documentation states that it should prompt for a user. Neither the registered show_prompt is called nor does anything happen when lightdm.respond is called.

Looking at the definition of that method here and the relevant gi reference this does seem to be intended to work - I don't know enough about the bridging interface to tell if perhaps some type conversion is breaking this.

This all is using RC 2 for version 3.0.0, I don't believe any changes were made to the login process since?

TLATER commented 6 years ago

A workaround for now is to manually check against the user list, which isn't too bad, I suppose (does screw with my architecture though, grr).

lots0logs commented 6 years ago

That's odd. It should work. The simple theme also uses the prompt flow. Does that theme work for you on your system?

TLATER commented 6 years ago

Gah, sorry for not replying sooner, didn't realize there was a response.

Having tried the simple theme, it actually comes up with lightdm is not defined - an issue in itself, but I haven't seen that happen to any other theme, so probably not related?

lots0logs commented 6 years ago

Okay..I'll take a look at it as soon as I have some time. Thanks.