web-greeter icon indicating copy to clipboard operation
web-greeter copied to clipboard

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

Open TLATER opened this issue 6 years ago • 4 comments

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 avatar Mar 03 '18 20:03 TLATER

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).

TLATER avatar Mar 03 '18 20:03 TLATER

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

lots0logs avatar Mar 03 '18 20:03 lots0logs

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?

TLATER avatar Mar 18 '18 23:03 TLATER

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

lots0logs avatar Mar 19 '18 00:03 lots0logs