Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

VcXsrv on Windows 10 wsl2 does not show app

Writer Sebastian Wright

I have gone through many posts after googling this and I do not see an answer or an answer that works.

I am on Windows 10 (NOT Windows 11) I have Debian 11 on WSL2.

I have VcXsrv installed, latest at the time of this writing.

I have tried many of the options in VcXsrv including disabling security but to no avail.

So here is what happens.

I have DISPLAY set to 172.20.144.1:0, my ip for WSL is 172.20.144.134/20 and I ran this command to get 172.20.144.1.

echo $(grep nameserver /etc/resolv.conf | awk '{print $2}')

I have tried other 1 liners but this one got me the most success.

So after this I type:

xeyes

which is installed. And it just sits there, it does not display.

The other one liners and DISPLAYS that I have tried say Error cannot open display.

Is there any hope?

Thanx

2 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy