Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


When I don't use my laptop (with Ubuntu 11.10 (x64) and Unity 2d) for 5-10 minutes, it automatically locks. After that, when I'm trying to unlock it, it asks for the password. After I enter a password, it takes a random time from about 1 to about 100 seconds for it to unlock.

Are there any ways to speed up the unlock screen?

What was done

  • Found a similar question on suggests to look at bug #515155, which suggests that the problem has something to do with pam_ecryptfs. Using instructions, described there, I've looked at my etc/pam.d/common-auth file, but it says nothing about pam_encryptfs.

  • Searched /var/log/syslog.log for information. Nothing useful.

  • Searched /var/log/auth.log for information. I've found the following messages there, dated to unlock time:

    gnome-screensaver-dialog: pam_krb5(gnome-screensaver:auth): authentication failure; logname=victor uid=1000 euid=1000 tty=:0.0 ruser= rhost=
    gnome-screensaver-dialog: gkr-pam: unlocked login keyring

    I haven't used su and sudo for a few hours. At the time of these messages I've just logged in.

share|improve this question

closed as off topic by Bruno Pereira Apr 19 '12 at 10:47

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions on filing a bug report are here. – coversnail Apr 18 '12 at 18:13