wsld icon indicating copy to clipboard operation
wsld copied to clipboard

Cant start DISPLAY - 10.255.255.254:0.0

Open vinberg88 opened this issue 1 year ago • 3 comments

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 avatar Jun 19 '24 14:06 vinberg88

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

When i Type: Marco in terminal.

vinberg88 avatar Jun 19 '24 16:06 vinberg88

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

vinberg88 avatar Jun 19 '24 17:06 vinberg88

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

nbdd0121 avatar Jun 19 '24 18:06 nbdd0121