'WSL Gui Display not showing anything

I am using a xserver (xlaunch) and have initalized it with

export DISPLAY=$(grep nameserver /etc/resolv.conf | awk '{print $2}'):0.0

export DISPLAY=$(route.exe print | grep 0.0.0.0 | head -1 | awk '{print $4}'):0.0

When i try to open xeyes everything happens as if it should be opening. However nothing opens.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source