The patch in the OP worked for me (12.04.01, x64) until two days ago; after performing a regular system update the slooow login returned. I tried the fix in post #48 in this thread; it worked once (after I rm both directories) but no more (even after I tried to rm the directories again). I went back to the ubuntuforms link in the OP and the fix in post #40 there works (for now): After lightdm comes on, switch to tty1 and 'sudo pkill accounts'. This survives logout (so far) but not restart/reboot.
I have sent along several logs in case this would help squash this veeery annoying bug. ** Attachment added: "lightdm.log" https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/996791/+attachment/3518071/+files/lightdm.log -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/996791 Title: Xubuntu 12.04 extremely slow login Status in “accountsservice” package in Ubuntu: Confirmed Bug description: The core issue is that /usr/lib/accountsservice/accounts-daemon doesn't accept dbus messages on boot. The symptom to this problem is that, after successfulling entering your login information, the system takes about 85 seconds to boot. The real issue occuring is that /usr/lib/accountsservice/accounts- daemon isn't being started correctly by ligthdm. The accounts-daemon wont accept dbus requests, and so the dbus timeout is hit during boot. Before I start, here is a run down on my machine/setup: Intel I7. Xubuntu 12.04. Encrypted home drive. Running compiz. Enabling the log files on lightdm, the follow warnings are displayed (Notice the times): [+11.58s] DEBUG: Greeter quit [+36.60s] WARNING: Could not call SetXSession: Timeout was reached [+61.63s] WARNING: Could not call FindUserByName: Timeout was reached [+61.63s] DEBUG: Dropping privileges to uid 1000 [+61.63s] DEBUG: Restoring privileges [+86.65s] WARNING: Could not call FindUserByName: Timeout was reached If the /usr/lib/accountsservices/accounts-daemon is restarted, after the lightdm login screen is displayed, but before a login, then xfce will start immediately. Otherwise boot times take about 87 seconds. Also, it was found that the program d-feet, is unable to retrive valid methods from /usr/lib/accountsservices/accounts-daemon before it is restarted. After the deamon is restarted, all dbus methods are visuable and communicate correctly. For descussion on the problem, and a temporary fix, see the following thread: http://ubuntuforums.org/showthread.php?t=1970326 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/996791/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

