Prompt for password to unlock default keyring on startup

Asked by Jonathan

Hi. I've just started using Ubuntu and am absolutely new to Linux.

I have a wireless network and everytime I startup, I'm prompted for a password to unlock the default keyring because the network manager wants to access an application.

How can I set it up so that it remembers my password and doesn't keep bugging me for it each time I startup?

Thanks for your time.

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fake Name (fakeuserxxxx-deactivatedaccount) said :
#1

Hi,
Here's a step by step guide, original version can be found here: http://ubuntuforums.org/showpost.php?s=f5de5634f4448d733a599c23e4bb0257&p=2776815&postcount=1

First install "libpam-keyring", by entering "sudo apt-get install libpam-keyring" in terminal.
Then modify the gdm login file by typing this into terminal: "sudo gedit /etc/pam.d/gdm".
This will open the file in text editor. Add this line at the end of the file (do not remove any content from the file): "@include common-pamkeyring"
The above steps will only work if password to keyring is the same as password to your login. If it is not, then remove the actual keyring: "rm $HOME/.gnome2/keyrings/default.keyring", restart and as a new password for the keyring type your password to the acount. After that you won't be ever again prompted to enter the password to the keyring.

Revision history for this message
Jonathan (jbertscher) said :
#2

Thanks a lot but this didn't solve my problem. I ended up changing the keyring password to my login and following the steps above but to no avail. I also tried removing the keyring but it still pops up to ask for the password. Is there something else I could try?

Revision history for this message
Jonathan (jbertscher) said :
#3

To complicate things, when I added the "@include common-pamkeyring" at the end of gdm, when I logged out using ctl+alt+backspace, I'd receive an error "Authentication failed" and it wouldn't let me sign in or click anywhere else on the screen. The only way out was to hit the restart button. Without that line it doesn't do that.

Revision history for this message
pbhj (pbhj) said :
#4

I don't want to be annoying, but the Inkscape Answers page is for help with Inkscape vector graphics editor. You'll find more help and a more appropriate forum at Ubuntu Forums, http://ubuntuforums.org/ .

Use the search function there and I'd be suprised if there isn't already a solution available (eg http://ubuntuforums.org/showthread.php?t=873862&highlight=startup+keyring&page=2 and http://ubuntuforums.org/showthread.php?t=973546&highlight=startup+keyring )

Can you help with this problem?

Provide an answer of your own, or ask Jonathan for more information if necessary.

To post a message you must log in.