Pengwin: How to display the GUI with X410 in the version of WSL2?

Created on 9 Aug 2019  Â·  5Comments  Â·  Source: WhitewaterFoundry/Pengwin

The GUI with X410 worked well before upgraded to WSL2.
After I fixed the issue https://github.com/WhitewaterFoundry/Pengwin/issues/497
and use WSL2.
The GUI program doesn't work with:

Error: Can't open display: :0
Answered Insider User Support

Most helpful comment

Hello,

Exit X410 and execute :

X410.exe /Public
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

Inside pengwin

Regards

Thank you very very very much,
It works well after I set X410 with Allow Public Access.

All 5 comments

Hello,

Exit X410 and execute :

X410.exe /Public
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

Inside pengwin

Regards

Hello,

Exit X410 and execute :

X410.exe /Public
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

Inside pengwin

Regards

Thank you very very very much,
It works well after I set X410 with Allow Public Access.

You are welcome. For more information:

https://www.pengwin.dev/blog/2019/6/12/enable-wsl2-and-convert-existing-pengwin-installations

We are working to make it transparent to the user.

Regards

You are welcome. For more information:

https://www.pengwin.dev/blog/2019/6/12/enable-wsl2-and-convert-existing-pengwin-installations

We are working to make it transparent to the user.

Regards

While, when I use another computer.
The GUI program doesn't display without any export.
Then, I restart Pengwin, and run GUI program, it still doesn't work and notices me

Error: Can't open display: :0

ε=(´ο`*)))

@Photonico use

export DISPLAY=:0

likely you are using wsl1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AceHack picture AceHack  Â·  4Comments

sharpninja picture sharpninja  Â·  3Comments

rdmueller picture rdmueller  Â·  3Comments

thalamus picture thalamus  Â·  3Comments

ket000 picture ket000  Â·  5Comments