ubuntu-wsl2-systemd-script
ubuntu-wsl2-systemd-script copied to clipboard
wslg is broken with script
Hi, I had the same problem like described in https://github.com/microsoft/wslg/issues/238
xclock Error: Can't open display: :0
and the only solution for me was https://github.com/microsoft/wslg/issues/238#issuecomment-847804992
export DISPLAY=:0 sudo rm -rf /tmp/.X11-unix ln -s /mnt/wslg/.X11-unix /tmp/.X11-unix
Then it works. Is this really related to your script ?
thanks for your feedback.
Miro