Skip to content

WSL 2 / VcXsrv : Can't open display #7993

Answered by onomatopellan
Kaira08 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kaira08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants