LMSouq
server-admin Open

How to use Git credential store on WSL (Ubuntu on Windows)?

BO
Borek Bernard
1 month ago
3 views
Problem Description
I've tried following these instructions: https://stackoverflow.com/a/40312117/21728 which basically do this: sudo apt-get install libsecret-1-0 libsecret-1-dev cd /usr/share/doc/git/contrib/credential/libsecret sudo make git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret But when I do any network operation, I get this error: ** (process:7902): CRITICAL **: could not connect to Secret Service: Cannot autolaunch D-Bus without X11 $DISPLAY That's logical I guess as there is indeed no X11 display. How to make Git credentials caching work on Ubuntu on Windows (WSL)?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base