ubuntu-wsl2-systemd-script icon indicating copy to clipboard operation
ubuntu-wsl2-systemd-script copied to clipboard

wslg is broken with script

Open mirogl opened this issue 3 years ago • 6 comments

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

mirogl avatar Oct 20 '21 20:10 mirogl