How to disable keyring in Ubuntu, elementary OS, and Linux Mint

Keyring pops up everytime after reboot. Want to stop it?

One of FOSS Linux readers asked us this question, and we thought let’s publish an article instead of just replying to the comment.

Ubuntu and its derivatives, including Linux Mint and elementary OS, requests keyring every time a user reboots the computer and launches specific Internet browsers, including Google Chrome and Chromium.

What is Keyring?

The keyring stores passwords and encryption keys for you, just like a safe for passwords. Your passwords are encrypted and protected with your login password by default settings. Every time you launch an application, the keyring enters the password for you. It is true when you don’t have automatic login enabled.

If you have automatic login enabled, then the keyring won’t enter the password for you. Instead, it asks for you to first unlock the safe, for security reasons. Though this behavior is entirely justified, it may become a frustrating experience if you are the sole user of your PC, or it is a test PC where you don’t have any personal info stored.

Stopping Keyring Popup after reboot in Ubuntu, Linux Mint, and elementary OS

Option 1: Disable Automatic Login

If you don’t have auto-login activated, the keyring is unlocked when you log in to your user account. Therefore, the system authenticates that you are the user and bypasses keyring prompt when you launch Chrome.

Option 2: Make Keyring password Blank

Step 1) Launch ‘Terminal’ and enter the following command. Elementary OS users may need to first enable PPA before attempting the below command. Ubuntu 17.10 comes with seahorse pre-installed, so you may see output that “seahorse is already the newest version…’.

sudo apt-get install seahorse

Step 2) After the installation is complete, launch “seahorse” from programs.

Launching Seahorse
Launching Seahorse

Step 3) Right-click on “Login” and select “Change Password.”

Change Password in Seahorse
Change Password in Seahorse

Step 4) Enter the old password when you see the pop-up. Then leave the new password field blank. Don’t enter even space. Click ‘Continue’.

Leave the New Password Blank
Leave the New Password Blank

Step 5) You should see an obvious warning pop-up that passwords will be unencrypted. Click ‘Continue’.

No Encryption Warning
No Encryption Warning

That’s it! Restart your computer for the setting to take effect. Next time you launch Chrome or Chromium browser, you should not see the keyring request.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

21 COMMENTS

  1. Doesn’t work, that’s it
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    seahorse is already the newest version (3.20.0-5).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Go to programs and there’s nothing on that name, can’t find it

  2. This was a great description of what the keyring actually does and is for; I was confused before reading this article, now I am not!

  3. This method worked thank you!
    But one thing I will mention is that as passwords stored won’t now be encrypted it would be best to only use Chromium for logging into sites where you have set up 2 stage login accounts.
    Just to be safe!

  4. This works until you update. Not always, but often enough the password will be set again after you update Ubuntu. Very annoying especially if you have set this for your mother in law which all of a sudden has to enter her password again.

  5. Or just disable it when the app is started by passing –password-store=basic to it:

    sudo sed -i ‘s/chrome-stable/& –password-store=basic/g’ /usr/share/applications/google-chrome.desktop

    Verify it was added:

    dave@localhost:~$ grep stable /usr/share/applications/google-chrome.desktop
    Exec=/usr/bin/google-chrome-stable –password-store=basic %U
    Exec=/usr/bin/google-chrome-stable –password-store=basic
    Exec=/usr/bin/google-chrome-stable –password-store=basic –incognito

    • Beware — you need to retype this line, the single-quote ‘ and double-dash — were converted to ‘smart’ characters.

      sudo sed -i ‘s/chrome-stable/& –password-store=basic/g’ /usr/share/applications/google-chrome.desktop

  6. It would be great if I had actually installed it. I didn’t therefore I don’t have a password to get into it to change the password.
    Any other suggestions please.

  7. Using Ubuntu v 18. Installed seahorse and ran. It simply doesn’t show any options for logins. I created one keyring but it isn’t the all required default one and nothing asks to save a password to it. How do I access and set a password for the invisible and all-required “default-keyring”?

  8. Hey, my issue is that seahorse (passwords and keys) locks my unlock-ed setting about every 4th or 5th day. What is the filename for where these prefs/settings are stored. I’m going to gut it out, create a new file, & make it “immutable” via “sudo chattr +i “. Had to do the same thing to stop Nvidia prefs file from changing itself too, so this may be my only workaround? What is that name?

Leave a Reply to cristian Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,312FansLike
385FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

10 Top Reasons to Switch to Manjaro Linux

Manjaro is Linux distro based on Arch-Linux which follows a rolling release model. Is this distro good for you? Let's find out the main reasons for using Manjaro.

Ubuntu 19.10 (Eoan Ermine) Beta Installation and Overview

It may be early, but I've been looking forward to the release of Ubuntu 19.10 for some time now. As an impatient person, and promised readers in the FOSSLinux article announcing the release of Eoan Ermine that we would provide you a review of Ubuntu 19.10 Eoan Ermine - Beta.  So, here it goes.

5 Best Application Launchers for Ubuntu

Ubuntu is one of the most used Linux distributions worldwide. It is also the reason why it has the maximum number of available programs for itself. Today we are going to talk about one category of those programs, the application launchers.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.