Closed dlemmort closed 10 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This is non-trivial to solve. I have been playing with this in a private repo for a while, and I thought I found a solution, but it recently started to fail.
That's unfortunate! But I totally understand there are more important and easier to solve issues to address. Thanks for your comment, and thank you for the effort you put in this repo!
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
any solution for this?
no
I just want to use github copilot without login every time after restarting the container. any simple solution?
no a "solution" and "simple solution" would both be solutions.
This issue is locked due to inactivity
Is there an existing issue for this?
Current Behavior
When entering API keys in extensions they won't be saved in VSCode, for example Code GPT fails completely and Genie AI forgets the API key every time I login, now I have been searching the logs and found a couple of things.
When starting code server I see the following in the logs:
[16:20:51] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https://aka.ms/vscode-server-keyring on how to set this up. Details: libsecret-1.so.0: cannot open shared object file: No such file or directory
I though installing libsecret might help this problem but now I see the following in the logs:
[21:39:29] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https://aka.ms/vscode-server-keyring on how to set this up. Details: Cannot autolaunch D-Bus without X11 $DISPLAY
Following the vs code docs in the link I found that changing some settings in argv.json might help, but this file is unfortunately nowhere to be found (The following command should open that file, but that command doesn't work either: "Preferences: Configure Runtime Arguments")
Expected Behavior
Vscode should be able to use the in-memory credential store.
Steps To Reproduce
I run docker on debian with the following docker-compose: ` vscode: image: lscr.io/linuxserver/code-server:latest container_name: vscode environment:
Environment
CPU architecture
x86-64
Docker creation
Container logs