From f1d21414315f1b658fe963b3e6a2b342b81f023f Mon Sep 17 00:00:00 2001 From: jaredscarr Date: Mon, 19 Feb 2024 12:16:19 -0800 Subject: [PATCH] Update Windows WSL2 instructions for Windows 11 --- CONTRIBUTING.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cb4c2bfab2d..5bb28ba8953 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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" + export $DISPLAY=":0" ``` You can test that it is set up successfully with: