** Description changed:
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.
- A temporary "fix" has been posted:
- 1. Login
- 2. cd /usr/share/xsessions
- 3. Edit xubuntu.desktop:
- . Replace the follow:
- Exec=startxfce4
- To read:
- Exec=startxfce4-modified
-
- 4. cd /usr/bin
- 5. Create a file called startxfce4-modified, and store the following script
into it:
- #!/bin/bash
-
- #Restart the accounts daemon
- ps -aef | grep accounts-daemon | grep -v grep | awk '{print $2}' | xargs kill
-9
- /usr/lib/accountsservice/accounts-daemon &
- startxfce4
-
- 6. Ensure the permissions are correct on the script:
- sudo chmod 755 /usr/bin/startxfce4-modified
-
- 7. Reboot
-
- For descussion on the problem, see the following thread:
+ For descussion on the problem, and a temporary fix, see the following thread:
http://ubuntuforums.org/showthread.php?t=1970326
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/996791
Title:
Xubuntu 12.04 extremely slow login
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xubuntu-meta/+bug/996791/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs