Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Windows WSL2 instructions for Windows 11 #8512

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -113,8 +113,12 @@ To run the Node tests, you need to set up OpenGL support via X11 forwarding:
```bash
# WSL 1
export DISPLAY=localhost:0
# WSL 2
# WSL 2 + Windows 10
export DISPLAY=$(grep -m 1 nameserver /etc/resolv.conf | awk '{print $2}'):0.0
# WSL 2 + Windows 11
echo $DISPLAY
# if result of above command is NOT ":0"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? Just set the environment variable anyways?

export $DISPLAY=":0"
```

You can test that it is set up successfully with:
Expand Down