Describe the bug
Trying to run a GUI app returns:
Error: Can't open display: :0
To Reproduce
penguin-setupExpected behavior
I expect the programs to run, and not give an error
Basic Troubleshooting Checklist
[x] I have searched Google for the error message.
[x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues.
[x] I have reset Pengwin: Settings->Apps->Apps & features->Pengwin->Advanced Options->Reset.
[x] I have disabled and re-enabled WSL in Windows Features.
[x] I have run Windows 10 updates and restarted.
Pengwin Version
1.2.8.0
Windows Build
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19035 N/A Build 19035
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: Alienware 1.8.0, 5/30/2019
Hello,
By any chance you are using WSL2? It should work in WSL1 for WSL2 we are working on this.
Regards
It is WSL2.
Thank you for the quick update.
Follow this PR: https://github.com/WhitewaterFoundry/pengwin-base/pull/61/files. You'll need to replace your /etc/profile.d/00-pengwin.sh with the file in this PR and be sure that VcxSrv accepts connections from anywhere: vcxsrv -ac
@crramirez That worked as well, thank you, it just needs AC Disabled, I might be able to create a default config.
For anyone who stubles accross this:
After replacing 00-pengwin.sh as per @crramirez you want to edit the file /etc/profile.d/vcxsrv.sh.
you can add -ac to the command that is run from there.