My purpose is simply getting GnomeKeyring to prompt for a password. As some people may want to know why, MySQL Workbench only uses GnomeKeyring for password protection for some reason and doesn't unlock it before connecting. It asks for the already stored password again then unlocks the keyring to save it over it. From then on, it lets you use the keyring as intended.

Amazingly enough, on top of this abomination, Google, almost exclusively assumes you are using gnome and want to get rid of the password prompt at autologin whenever you type gnome keyring and password prompt in the search (e.g like this,or this ). I have run out of ways to try to tell google what I want without it assuming I need the most popular answer, so here I am.

I am using: Kubuntu 19.04 KDE Plasma 5.15.4

I simply need to know what command to run in .profile so that the password prompt window appears. This is because I started to think asking it to happen on MySQL Workbench start is too much to ask.


The best way I managed to find is trying to access a key. I found gkeyring the easiest to work with (Here's the package). After installing the package, all that is needed to be done is to run gkeyring --all before running MySQL Workbench.

The best way to implement was adding gkeyring --all && before the command that starts MySQL Workbench that I always use.

Your Answer

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

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