"Error: Can't open display: :0" fails to run a simple GUI program correctly
nguynkhn opened this issue · comments
Windows build number:
10.0.22631.0
Your Distribution version:
22.04
Your WSL versions:
WSL version: 2.1.5.0
Kernel version: 5.15.146.1-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3593
Steps to reproduce:
- Install the WSL distro using
wsl --install
- Install the driver from this website
- Install the
x11-apps
package - Run
xeyes
WSL logs:
pulseaudio.log
weston.log
stderr.log
WSL dumps:
Expected behavior:
The program should be launched with a graphical window
Actual behavior:
The shell outputs Error: Can't open display: :0