nbdd0121 / wsld

WSL Daemon - Stable X11 connection and time synchronisation for WSL2
Apache License 2.0
298 stars 24 forks source link

Cant start DISPLAY - 10.255.255.254:0.0 #35

Open vinberg88 opened 3 months ago

vinberg88 commented 3 months ago

if i type: echo $DISPLAY

This IP SHOWS: 10.255.255.254:0.0

Think that i wrong IP. How do i change IP for display. I cant run gimp - Gnome - KDE........

vinberg88 commented 3 months ago

Error: Window manager error: Unable to open X display 10.255.255.254:0.0

When i Type: Marco in terminal.

vinberg88 commented 3 months ago

This works.. but i have to type it every time i start GWSL

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

nbdd0121 commented 3 months ago

I think that is set by WSLg? WSLd doesn't set DISPLAY for you automatically.