12

When I have "automatic login" activated, the "Unlock the Gnome Keyring" box asks for my password. But this happens three times. There are three boxes asking me for my password. In 10.04 the box appeared one time.

0

8 Answers 8

6

Make sure you've disabled auto login as per this guide:

http://www.liberiangeek.net/2010/10/disable-auto-login-ubuntu-10-0410-10-maverick-meerkat/

Then when you login again & are prompted to unlock keyring, click "Details" & there will be an option to automate the unlocking process.

Repeat for each prompt.

You should now only be prompted the one time at login.

This worked for me, hope it is some help to someone...

3
  • i had the 3 times prompt and i fixed it by using your advice. thanks!
    – gourgi
    Apr 2, 2011 at 10:54
  • For me this option was grayed out :-/
    – JochenJung
    May 13, 2011 at 9:05
  • I had the same problem in 10.04 and 10.10 but now in 11.04 it's gone! :)
    – Alvar
    May 24, 2011 at 11:09
4

Take a look at "Passwords and Encryption Keys". A friend of mine had the same problem:

It's possible to create several bundles of keys. However, you have to unlock every single bundle after logging in (and a program tries to access it).

Here's what it should look like: my key-bundle setup

Good luck
Tom

1
  • 2
    If you don't find it, use: Alt+F2 then type seahorse.
    – antivirtel
    Jul 7, 2011 at 21:00
1

The keyring prompts are because your keyring and logon passwords are different or your system is set to autologon. The fix is to go to "Passwords and Encryption Keys" under System/Preferences right click on Passwords select "Change Password" set it to blank for no password (useful if your system is set to auto logon) or change it to your current logon password.

The e-mail prompts may be some program is trying to check mail at logon. Disable the program or set it to save your password.

1

Get this patch, apply the patch to gkd-secret-unlock.c in gnome-keyring's source, rebuild the gnome-keyring package and install it. For more details on the bug and patch see Bug 744929 for gnome-keyring.

If you're not familiar with the above process, here is what I did:

  1. apt-get source gnome-keyring
    • Get the source code
  2. patch daemon/dbus/gkd-secret-unlock.c dont-prompt-multiple-times-rebased.patch
    • Apply the patch (you'll need to specify the correct file locations)
  3. dpkg-buildpackage -uc -b
    • Build the package
  4. sudo dpkg -i gnome-keyring_2.92.92.is.2.32.1-0ubuntu2_amd64.deb
    • Install it. Your package name may be different from mine.

Note I'm on version 11.04, so I don't know if the patch will work for 10.10. Both have version 2.92.92 except the number is different after the .is. and I'm not sure what that indicates in versioning.

Thanks to Felix Lawrence for providing the patch backport.

0

You could go into "Password and Encryption Keys" in your Control Panel. Right click on the Password: Login put in your current password and then leave the new password blank. This will stop this coming up also.

2
  • 3
    That's not a solution for the problem, but just hides it at best!
    – JanC
    Oct 21, 2010 at 22:36
  • Need launchpad bug for that!
    – Extender
    Oct 22, 2010 at 8:26
0

I'm not quite sure but I think you should also be able to go to System -> Settings -> Password and Encryption Keys and then delete (right click on them) two of the three keyrings you should see in the list (tab Passwords). This would be sort of a combined solution of Open Help's and Dean Thompson's.

0

I too had several password requests after auto-login (between 3 to around 8). I just deleted my chat accounts and now it only asked once! I know this is not a solution but it could help to pinpoint the problem.

0

Try deleting your keyring and creating a new one by issuing this command

sudo rm ~/.gnome2/keyrings/*.keyring

Reboot.

When you login a box will pop up asking you to create a new keyring. Hope this works.

2
  • Or rename/move them to somewhere else (to keep a backup, just in case).
    – JanC
    Oct 21, 2010 at 22:38
  • 5
    BEWARE: Keyrings contain an encrypted list of passwords; deleting such a keyring will cause loss of any passwords it contains.
    – Zaz
    May 6, 2011 at 15:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .