Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423163 - x11-misc/lightdm-1.2.2-r2 autologin cannot authenticate anymore: "Conversation error"
Summary: x11-misc/lightdm-1.2.2-r2 autologin cannot authenticate anymore: "Conversatio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 15:47 UTC by Henry Gebhardt
Modified: 2012-06-24 18:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Allow autologin to authenticate (lightdm-autologin.patch,404 bytes, text/plain)
2012-06-23 15:47 UTC, Henry Gebhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Gebhardt 2012-06-23 15:47:42 UTC
Created attachment 316081 [details]
Allow autologin to authenticate

With the changes since revision r2 of lightdm-1.2.2, autologin no longer works, giving the following error in /var/log/lightdm/lightdm.log:

    [+8.28s] DEBUG: Automatically logging in user hsgg
    [+8.28s] DEBUG: Started session 277 with service 'lightdm-autologin', username 'hsgg'
    [+13.97s] DEBUG: Session 277 authentication complete with return value 19: Conversation error
    [+13.97s] DEBUG: Autologin failed authentication
    [+13.97s] DEBUG: Session 277: Sending SIGTERM

The attached patch to /etc/pam.d/lightdm-autologin fixes it.

I hope I didn't forget anything. Thank you,

Henry
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-06-23 17:25:16 UTC
Seems like a regression in -r2. Adding Samuli who did the recent fixes in the pam files
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-06-24 12:30:05 UTC
The file was converted to 'system-local-login' for pam_systemd.so (and pam_ck_connector.so)

I hope features which require authorization still work (automounting for example, hibernate or suspend another)

+*lightdm-1.2.2-r3 (24 Jun 2012)
+
+  24 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +lightdm-1.2.2-r3.ebuild,
+  files/lightdm-autologin:
+  Including 'auth include system-local-login' doesn't work for autologin
+  feature. Replace it with pam_env.so, pam_nologin.so and pam_permit.so wrt
+  #423163 by Henry Gebhardt
Comment 3 Henry Gebhardt 2012-06-24 18:28:02 UTC
(In reply to comment #2)
> +*lightdm-1.2.2-r3 (24 Jun 2012)

Thanks! It works again.

Henry