I work on WSL with an Ubuntu terminal. I have a problem with the display opening. I'm new to this stuff and would need help.
I downloaded Xming, run through XLaunch and in the part "Specify parameter settings" select "No Access Control". I executed export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.
Then I executed export DISPLAY=:0 and xeyes but I still have the error message: Error: Can't open display: :0.
I tried to find a solution on the internet but could not solve the problem. Thank you very much for your help.