That is the correct workflow - can you check the lightdm.log to confirm
that the authentication did work?
On 27 December 2012 10:15, David Edmundson <david at
davidedmundson.co.uk>wrote:
> Sort of related to my previous email, I have a problem with logging in
> user's where no password is required to log in, such as those in the
> nopasswd group.
>
> My code reads (in pseudocode):
>
> greeer.authenticateUser("foo");
> onPrompt() {
> greeer.respond(..);
> }
> onAuthenticationComplete() {
> if (greeter.authenticated) {
> greeter.startSessionSync
> } else {
> showError()
> }
> }
>
> In the case where no password is required, the backend goes straight
> from authenticateUser to the onAuthenticationComplete callback,
> however greeter.authenticated is false so my login fails. How is the
> workflow meant to go?
>
> David Edmundson
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.freedesktop.org/archives/lightdm/attachments/20121227/44a7140e/attachment.html>