-
Notifications
You must be signed in to change notification settings - Fork 823
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
X Windows broken on fast ring WSL2 (?) #5106
Comments
Tested on version 10.0.19603.1000 and it works as expected. |
When you started VcXsrv, did you verify it actually created a display on :0 (and no other number)?
I am not sure about WSL 2, it is possible that they use a Unix Socket for secure connections, in which case your environment variable can NOT mention the host name (or its IP address):
|
@beltaurus On WSL2 I've been using host ip or |
I'll update to 19608 again and try. |
One thing to try after you upgrade, assuming your problem persists, is use the ip address your DHCP gave your Windows machine not the one in |
Re-installed 19608 and it's working fine with no changes. |
Sources: Understanding linux DISPLAY variable - Stack Overflow https://stackoverflow.com/questions/20947681/understanding-linux-display-variable https://stackoverflow.com/a/20947791 https://stackoverflow.com/questions/20947681/understanding-linux-display-variable/20947791#20947791 X Windows broken on fast ring WSL2 (?) · Issue #5106 · microsoft/WSL · GitHub microsoft/WSL#5106 microsoft/WSL#5106 (comment) microsoft/WSL#5106 (comment) WSL2 GUI X-Server Using VcXsrv - Shogan.tech https://www.shogan.co.uk/how-tos/wsl2-gui-x-server-using-vcxsrv/ Xming X Server for Windows - Trouble? http://www.straightrunning.com/xmingnotes/trouble.php
Sources: Understanding linux DISPLAY variable - Stack Overflow https://stackoverflow.com/questions/20947681/understanding-linux-display-variable https://stackoverflow.com/a/20947791 https://stackoverflow.com/questions/20947681/understanding-linux-display-variable/20947791#20947791 X Windows broken on fast ring WSL2 (?) · Issue #5106 · microsoft/WSL · GitHub microsoft/WSL#5106 microsoft/WSL#5106 (comment) microsoft/WSL#5106 (comment) WSL2 GUI X-Server Using VcXsrv - Shogan.tech https://www.shogan.co.uk/how-tos/wsl2-gui-x-server-using-vcxsrv/ Xming X Server for Windows - Trouble? http://www.straightrunning.com/xmingnotes/trouble.php
Your Windows build number:
10.0.19608.1006
What you're doing and what's happening:
Attempting to run an x windows app like gitkraken, nautilus, xfce, jetbrains toolbox, etc.
I get the following error.
I attempted a fresh Ubuntu LTS install as well and received the same error. I don't believe anything has changed on my end except running the Windows update.
With either x410/VcXsrv etc I should be able to launch x windows apps. I've been running various windowed apps for several months now on WSL2 without issue.
The text was updated successfully, but these errors were encountered: