I've just faced this problem (removing .Xauthority solved it). I've tested again with an invalid .Xauthority, and the login failed. I then installed the proposed lightdm version (1.6.0-0ubuntu4) and restarted the service. Tried to login again, and it seemed to work!
It's probably better for someone else to verify this. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1234400 Title: Cannot log in users if their Xauthority file is corrupt. Status in Light Display Manager: Fix Released Status in Light Display Manager 1.6 series: Fix Released Status in Light Display Manager 1.7 series: Fix Released Status in “lightdm” package in Ubuntu: Fix Released Status in “lightdm” source package in Raring: Fix Committed Status in “lightdm” source package in Saucy: Fix Released Bug description: Impact: If a users X authority file contains invalid data the user will not be able to log in with LightDM until the file is corrected or removed. The reason for the corruption has not been identified. To reproduce: 1. Stop lightdm $ sudo stop lightdm 2. Create an invalid X authority file in the home directory of a user, e.g. from a text VT: $ cp /etc/hostname ~/.Xauthority 3. Start lightdm $ sudo start lightdm 4. Log into the user account in the greeter Expected result: Logged into graphical session. Observed result: Returned to greeter, graphical session not shown. Regression potential: Change is small and was a regression in 1.6 due to accidental removal line resetting the error variable after reading the existing X authority file. Seems unlikely to cause any side-effects. To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/1234400/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp