Open thetredev opened 1 year ago
What fixed it on my end, was changing the mount point from
/tmp/.X11-unix:/tmp/.X11-unix
to
/mnt/wslg/.X11-unix:/tmp/.X11-unix
Needs clarification, though. Please test on your machines as well if necessary.
@thetredev the examples are valid, however you're encountering the can't open display
issue. That's why it works when pointing to /mnt/wslg/.X11-unix/X0
socket directly. Here's a screenshot with the xclock
container running:
Before you launch the container again make sure /tmp/.X11-unix/X0
exists. There was an effort to have this linked to /mnt/wslg/.X11-unix/X0
but didn't worked as expected causing many can't open display
issues to be filed.
@elsaco The X0
file is available in both locations for me:
Can you point me to the issue you've mentioned?
Windows build number:
10.0.19044.0
Your Distribution version:
Arch (but applies to Debian 11 as well)
Your WSL versions:
Steps to reproduce:
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
X window "xclock" is displayed.
Actual behavior:
No X window is displayed.