Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6096

VSCode requires login on start each time a new window is open

$
0
0

VSCode requires login on start each time a new window is open, it says "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.".

  • I've tried"$ gnome-keyring version", my terminal told me "gnome-keyring: 40.0";

  • I tried "$ sudo apt install libsecret", but this didn't work:

"Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
E: Paket libsecret kann nicht gefunden werden."
(translate to English, it cannot find the package libsecret)"

  • Verbose log with 'code --verbose --vmodule="/components/os_crypt/=1"':

"[188712:0411/215246.093602:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[main 2024-04-11T19:52:46.189Z] [File Watcher (node.js)] Request to start watching: /home/dci-student/.config/Code/User (excludes: , includes: , correlationId: ),/home/dci-student/.config/Code/User/settings.json (excludes: , includes: , correlationId: )
[main 2024-04-11T19:52:46.198Z] Sending env to running instance...
[main 2024-04-11T19:52:46.199Z] [File Watcher (node.js)] Started watching: '/home/dci-student/.config/Code/User'
[main 2024-04-11T19:52:46.199Z] [File Watcher (node.js)] Started watching: '/home/dci-student/.config/Code/User/settings.json'
[188748:0411/215246.242288:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.
[main 2024-04-11T19:52:46.249Z] Sent env to running instance. Terminating...
[main 2024-04-11T19:52:46.249Z] Lifecycle#kill()
[main 2024-04-11T19:52:46.250Z] Lifecycle#onWillShutdown.fire()"

  • I also tried this, following the instructions on this page "https://gist.github.com/maelvls/79d49740ce9208c26d6a1b10b0d95b5e". It doesn't work either:

sudo apt install libsecret-1-0 libsecret-1-dev libglib2.0-dev
sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret**"

  • I'm using a Ubuntu. Result of "lsb_release -a":

"No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy"

Does anyone know who I should do? I'm new to the work and this is the first time that I ask something here. Thanks a lot!


Viewing all articles
Browse latest Browse all 6096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>