Categories
Stayno's Notes VS Code

VS Code gnome-keyring problem

When starting VS Code for the first time on the Vagrant VM running Ubuntu which you can see how I setup in another post there is a problem signing into my GitHub account. Everything works well until you are redirected from the browser to open VS Code then an error message appears

You’re running in a GNOME environment but the OS keyring is not available for encryption. Ensure you have gnome-keyring or another libsecret compatible implementation installed and running.

In order to fix this press Ctrl+Shift+P and search for “Preferences: Configure Runtime Arguments” click on that and argb.json file will apear. Just add the code bellow

"password-store":"gnome-libsecret"

Save the file. Close VS Code. Restart OS ( Yes, it will still give you the error otherwise ).

After the restart start VS Code again and try to login to your account from the VS Code interface.

Leave a Reply

Your email address will not be published. Required fields are marked *