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 Charles Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,318FansLike
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.

CentOS Vs. Ubuntu Server : Everything You Need to Know

Choosing the perfect Linux distribution to set up your server can be confusing since Linux provides a limitless number of options. The main reason behind these many distributions is because Linux is an opensource platform. Anybody with the required skills can contribute to the development or build and release their distribution. Currently, there are more than 600 Linux Desktop and Server distributions in the market.

10 Best Video Editing Software for Linux

This article is for all the Linux users out there who are looking for video editors to create their own professional videos, which can range from short documentaries to even movies.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

10 ways to use the Chown command with examples

Any file in a Linux system belongs to a particular owner(s) and a group. It is one of the many features that maintain security in Linux systems. For example; If a file belongs to say UserA, then UserB cannot manipulate the data depending on any additional permissions set unless the user has permission to do that.