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.
From the manpage:
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-browser --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.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.
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.
You can remove this annoying message by
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).
Edit: In fact, you might as well get rid of the keyring popup and the
"your computer is old"
flag at the same time.sudo sed -i '/^Exec=/s/$/ --disable-infobars --password-store=basic %U/' /usr/share/applications/google-chrome.desktop
Original answer
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 withExec=
.Credit to Capi Etheriel, who's answer I used to develop mine.
Ubuntu 12.10
Hope this helps
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:
Google Chrome uses Gnome 'login' keyring to securely store passwords. It is usually protected by a password that matches your login password. Gnome keyring can automatically unlock it when the user logs in. When you login normally, the system gives the password you just entered to gnome-keyring, which then unlocks the login keyring.
So, why am I being asked to unlock a "keyring"?
The 'login' keyring password does not match your login password
When the user changes their password, the PAM module changes the password of the 'login' keyring to match.
If root changes the password, or /etc/shadow is directly edited then due to the lack of the old password, the 'login' keyring cannot be updated.
You have to update the 'login' keyring password manually.
You did not enter your password when logging in
When you have auto-login enabled or use another passwordless authentication method (for example 'fingerprint' device), you don't enter any password, and gnome-keyring cannot unlock the keyring automatically. So it asks you to unlock it.
If you have enabled disk encryption, LUKS passphrase can be reused to decrypt GNOME keyring even with auto-login. This works in Fedora out of box, but propably requires additional configuration tweaks in Ubuntu and Arch to configure initramfs to use systemd (and, therefore, systemd-cryptsetup).
Overwise, if you want to have auto-login and auto-unlock, you need to remove the keyring's password (set it to a blank one).
Links:
As the problem came up on my computer just now, I think I've got a better solution.
Go to
Accessories -> Password
Right click the 'login' folder
Choose 'Change password'
Choose 'unlock' and type in the new password.
Thus, the pops-up never turn out again.