WSL2: git no xauth data #6101
Answered
by
therealkenc
divinebovine
asked this question in
General
-
Environment
Steps to reproduce
WSL logs: https://aka.ms/AA9z0a5 Expected behaviorCloning into 'Hello-World'...
remote: Enumerating objects: 13, done.
remote: Total 13 (delta 0), reused 0 (delta 0), pack-reused 13
Receiving objects: 100% (13/13), done. Actual behaviorResults in: Cloning into 'Hello-World'...
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
remote: Enumerating objects: 13, done.
remote: Total 13 (delta 0), reused 0 (delta 0), pack-reused 13
Receiving objects: 100% (13/13), done. |
Beta Was this translation helpful? Give feedback.
Answered by
therealkenc
Oct 15, 2020
Replies: 2 comments 1 reply
-
I do have the following in my .bashrc export LIBGL_ALWAYS_INDIRECT=1
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0 and it shows up in my env env | grep -i 'display\|libgl'
LIBGL_ALWAYS_INDIRECT=1
DISPLAY=172.25.208.1:0.0 ssh config: cat ~/.ssh/config
HOST github.com
IdentityFile ~/.ssh/github_rsa |
Beta Was this translation helpful? Give feedback.
0 replies
-
Generally will get better eyeballs on Linux config over at serverfault or stackoverflow and the like. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
divinebovine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generally will get better eyeballs on Linux config over at serverfault or stackoverflow and the like.