In Google Chrome, when I go to a login page, a window pops up asking to "Enter password for keyring 'default' to unlock". In most cases, whether I click Cancel or enter my password, the login form gets auto filled anyway.

How do I get rid of the popup? I want it to auto login each time, not ask for my system password. The dialog box never appears for any other apps.

  • 23
    You can start chrome with the command line google-chrome --password-store=basic so that it won't ask use the gnome keyring. See: code.google.com/p/chromium/wiki/LinuxPasswordStorage Because there is a workaround that is specific to Chrome, this question should not be a duplicate. – Stephen Ostermiller Mar 25 '14 at 12:48
  • 6
    rm ~/.local/share/keyrings/* Now open Chrome, if it asks you for your password, do not enter one choose Continue each time and ignore any warnings. – xinthose Apr 24 '17 at 18:54
  • Agree with @StephenOstermiller, a detailed answer is ubuntuforums.org/… – new2cpp Feb 24 '18 at 18:57

12 Answers 12


As described here you can set the keyring password to blank.

Go to System/Preferences/Password and Encryption keys, right click the appropriate folder and click Change Password. Put in your old password and leave the new one blank.

  • 17
    Choosing a system-wide setting to be less secure seems like a bad idea. There are better options on this page: see the libpam-gnome-keyring answer – Jeff Ward Aug 13 '15 at 18:24
  • 4
    You don't need to mess with the wallets and keyrings at all, just disable the password store in chrome. See my answer below. – Capi Etheriel Oct 23 '17 at 16:51
  • I find that when I do this, it periodically gets reset, and I have to type in my password again. It seems to correlate with system updates, but I'm not sure. Does anyone else see this? – Jack O'Connor Jul 26 '18 at 19:30
  • Changing the system-wide keyring password to avoid one particular popup on one particular program seems pretty unsatisfactory. – DanielSank Feb 17 at 21:40

First make sure libpam-gnome-keyring is installed then log out and back in.

When you open Chrome again it will ask for the password for the keyring but will give you an option to unlock the keyring every time you login. Make sure this is selected and enter your password to unlock the keyring.

  • 12
    This is a better solution than the accepted answer. One shouldn't have to set an empty password just to avoid some inconvenience. – Kevin Apr 20 '15 at 7:46
  • 1
    This option is not available on Mint 16 – tomrozb Jun 9 '15 at 5:34
  • 4
    FYI, this option did not work for Chromium 37.0.2062.120 (running Debian 7 (Wheezy)). However, for this case, the workaround, presented in the selected answer here (passing the --password-store=basic option so that Chrome uses it's own password store rather than attempting to use the GNOME keyring) still works a treat! – Digger Sep 4 '16 at 2:20
  • 2
    Not available in Mint 17 either, even with the specified package installed. – Highly Irregular Sep 8 '16 at 8:13
  • 4
    This did not work in Xubuntu 17. no unlock the keyring option presented. same old dialog. – Norman Bird Jul 27 '17 at 16:16

From the manpage:

Set the password store to use. The default is to automatically detect based on the desktop environment. basic selects the built in, unencrypted password store. gnome selects Gnome keyring. kwallet selects (KDE) KWallet. (Note that KWallet may not work reliably outside KDE.)

The easiest way to fix that in the launcher is to copy the .desktop file to your home folder and edit it (google chrome users should copy the appropriate file):

cp /usr/share/applications/chromium-browser.desktop ~/.local/share/applications

Then edit the new file such that the Exec line reads like this:

Exec=chromium --password-store=basic %U

If you have any other Chromium app installed, their .desktop files should also be in ~/.local/share/applications, edit them accordingly.

  • 1
    Great, thanks! Except, the file I needed to edit was google-chrome.desktop rather than chromium-browser.desktop. – njlarsson Dec 31 '17 at 13:54
  • 3
    Has to be the most elegant solution on the page -- works for me in 18.04 (pre-release). – Dɑvïd Jan 16 '18 at 9:31
  • It works, but you need to do this every time chrome updates. – Pietro Coelho Apr 19 '18 at 13:36
  • Upvoted. Excellent answer! – L. Levrel Sep 4 '18 at 20:45
  • does not work on ubuntu 19.04 – tatsu Apr 21 at 13:13

You can remove this annoying message by

  1. Go to (Unity button)/Passwords and Keys
  2. On tab Passwords choose the proper key (I'd got only one, so you may need to find proper key). Right-click on it and Delete.
  3. Restart Chromium
  4. It'll ask for password --- do not type any and continue.
  5. Choose "Use unsafe storage"

Ready for now!

As to popups Chromium asks for password to encrypt your passwords for websites. With no password (as it said) someone will have access to your passwords having read access to some files.


Setting your keyring password to your login password should resolve the issue. If you completely remove the password, your keyring will be accessible without a password (i.e. by everybode who has read access).

  • This is maybe the best answer for me. It will store a securely all your passwords, compared to all other answers! As an addition I would add also to un-check the option for allowing everyone to connect to the network to the security superuser.com/a/115737 – Aleks Jan 16 '15 at 12:20

First of all, I'm by no means an Ubuntu nor a security expert. I'm just an average user / programmer that wanted to install Chrome on my Ubuntu 16.04 VM running under Parallels.

I installed Chrome, and was prompted with this annoying keyring password popup, and tried to put in my user's password to no avail.

The solution I got to work quite accidently was to:

  1. Go to Passwords and Keys
  2. Under "Passwords" just delete the Login keyring underneath that
  3. Ubuntu now will prompt you to create the new password
  4. Now when you launch Chrome, it won't bother you with the keyring popup anymore! (Well, at least for mine, it didn't.)

Ubuntu 12.10

  1. Goto Keyring and password
  2. then, View>By Keyring
  3. The window will change and will show a left pane. now select Login under Passwords in the left pane. Right click & select'change password'
  4. Enter the old password and when it prompts the new password just leave it blank.

Hope this helps

## Easy Solution #####

1.Goto Keyring and password

2.Right Click on Login and delete.

3.Open Chrome It will ask for enter new password leave it blank and continue. thats it


As the problem came up on my computer just now, I think I've got a better solution.

  1. Go to Accessories -> Password

  2. Right click the 'login' folder

  3. Choose 'Change password'

  4. Choose 'unlock' and type in the new password.

Thus, the pops-up never turn out again.


I made this one-liner to make disabling the password pop-up simple for when I am setting up Ubuntu VMs. I just tested it on an Ubuntu 16.04 system which had Chrome installed (not Chromium).

sudo sed -i '/^Exec=/s/$/ --password-store=basic %U/' /usr/share/applications/google-chrome.desktop

This command adds --password-store=basic %U to the end of any line in /usr/share/applications/google-chrome.desktop that begins with Exec=.

Credit to Capi Etheriel, who's answer I used to develop mine.


On Xubuntu (Xfce), fixing this problem may require enabling "Launch GNOME services on startup" in Settings -> Session and Startup -> Advanced, and then logging out and in again.


This happened to me when I wanted to clone an entire user profile. Turns out not all apps store settings with relative pathnames.

In my case, I had to dump the dconf section for apps/seahorse/listing, replace the original directory name and reimport.

Writing here the solution as I will most likely forget when I will hit this again:

dconf dump /apps/seahorse/listing/ > dconf.txt

delete wrong pathnames in dconf.txt

(in my case, it was this line:
keyrings-selected=['secret-service://login', 'openssh:///home/OLDUSERNAME/.ssh', 'openssh:///home/NEWUSERNAME/.ssh']

dconf reset -f /apps/seahorse/listing/
cat dconf.txt | dconf load /apps/seahorse/listing/

protected by Community Nov 6 '18 at 12:25

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.