WSL 2 / VcXsrv : Can't open display #7993
-
Hi, I am new the WSL environment. I have installed OpenSUSE in WSL2 and VcXsrv on my windows. I want to open nedit. However when I run the command I get the following - I have tried - None seem to work. I have also tried removing the firewall on windows and allowing Desktop access on XLaunch. Is there anything else I can do to fix this? Any help please. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When running XLaunch make sure you check the "Disable access control" setting. Also delete every vcxsvr.exe inbound rule in the firewall and when it asks allow for Private AND Public connection. |
Beta Was this translation helpful? Give feedback.
When running XLaunch make sure you check the "Disable access control" setting. Also delete every vcxsvr.exe inbound rule in the firewall and when it asks allow for Private AND Public connection.
For display use
DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0