How do I automatically unlock login keyring when logging into Ubuntu 20.04?

When I login to my Ubuntu 20.04 Hyper-V VM this pops up. How do I automatically login without having to type my password a second time. I see I can disable the keyring password but I'm just checking if there is a more secure way to achieve this. I am sure I did this on Ubuntu 18.04 but I can't remember how.

4

2 Answers

From your question and comment it seems you enter your password twice, once at login and once to unlock the keyring.

This can happen if your 'login' keyring is not the default, for example after changing your password, see here

If you use the Automatic login feature in Ubuntu, you'll still get this prompt, because you didn't unlock the keyring when logging in. In that case, and I have to stress to do this only on a trusted machine in a trusted network and probably not to do this at all because of the security leak, but the only way to get rid of it then is indeed to set a blank password to the keyring. (see also this interesting thread)

You have to set the "Login keyring" as the default keyring and set its password to be your login password. For example, use seahorse: sudo apt-get install seahorse && seahorse.

Be aware that if you activate automatic login, i.e., login without password, you will see the pop-up again, unless you set an empty password for the "Login keyring".

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like