Installieren Sie den X Server WSL2
sudo apt-get install xfce4
# see source for more info
Cybercoder
sudo apt-get install xfce4
# see source for more info
export DISPLAY=$(route.exe print | grep 0.0.0.0 | head -1 | awk '{print $4}'):0.0