AnswerBun.com

Can't connect to Github with VS Code

Ask Ubuntu Asked on December 29, 2021

When I try to log in to Github I get this error: "The name org.freedesktop.secrets was not provided by any .service files".

How can I resolve my problem?

OS: Kubuntu 20.04 LTS

2 Answers

Writing login information to the keychain failed with error 'The name org.freedesktop.secrets was not provided by any .service files'.

On KDE desktops (that don't have gnome-keyring installed), you also have the option to use KeePassXC as the Secrets Service.

The configuration steps for KeePassXC are:

  1. Optional. Install libsecret-tools. It contains a binary called secret-tool which can be used from the cli to test if things are working.

  2. In KeePassXC, open a database in which you want to hold the secrets and create a group inside the database. Can be named anything. e.g. 'Secret-Service-Integration'

  3. In KeePassXC, go to Tools > Settings > Secret-Service-Integration and check the Enable KeepassXC Freedesktop.org Secret Service integration check box. Press Ok to close the Application Settings screen.

  4. In KeePassXC, go to Tools > Settings > Secret-Service-Integration and in the General tab, in the Exposed database groups table, click the small pencil icon next to the database you want to host the secrets. Doing this will switch you to the Database's Settings dialog which also now has a Secret Service Integration section. Click on Secret Service Integration and then check the Expose entries under this group radio option. Select the group you created in step 2 above. Click Ok.

  5. Optional. Whilst the database is unlocked in KeePassXC, test storing a credential via:

secret-tool store --label='Created from cli' account test1

You will be prompted for a password and this is the password for the new secret being created and can be anything you want. e.g. 'blah'

If you now check the group set up in step 2 above, you will see a new KeePass entry in that group.

Doing the above allowed me to use Visual Studio Code's Settings Sync functionality without needing to install gnome-keyring.

Sources:

Answered by Jinesh Choksi on December 29, 2021

Type command -v gnome-keyring. If the output is empty, run sudo apt install gnome-keyring. Maybe it's missing.

Answered by karel on December 29, 2021

Add your own answers!

Related Questions

How to permanently disable autosuspend for specific USB port?

1  Asked on December 17, 2021 by fvclaus

   

MySQL GUI Tools

12  Asked on December 17, 2021 by richzilla

   

hdiutil: command not found

2  Asked on December 17, 2021 by user241645

   

How to set screen borders for HDMI output

8  Asked on December 17, 2021

   

Change language layout in screen lock

6  Asked on December 17, 2021 by mister-g

       

Expanding disk inside Hyper-V using LVM

3  Asked on December 17, 2021 by joseph-barker

       

Code Composer for Linux/Ubuntu

0  Asked on December 17, 2021 by jina-lee

       

Enable dark mode on chrome’s internal pages

6  Asked on December 17, 2021 by lamino

     

Apps zoomed / excessively scaled in ubuntu

0  Asked on December 17, 2021 by imharjyotbagga

   

Would installing make the computer faster?

1  Asked on December 17, 2021 by mark-kurti

 

Kernel Code in System Logs

0  Asked on December 17, 2021 by user1108670

 

Ask a Question

Get help from others!

© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir