VSWSL/Arch-WSL

open gui error

Opened this issue · 4 comments

gvim

E233: Cannot open display
Press ENTER or type command to continue

Same issue here.

edit found a small fix for this:

export DISPLAY=$(hostname).local:0

now i'm able to launch zathura

Setting DISPLAY does not seem to fix this for me. Is there anything else I need to configure to get graphical apps to work?

kai@kai-zenbook ~> DISPLAY=kai-zenbook.local:0 gedit

(gedit:17359): Gtk-WARNING **: 13:47:43.020: cannot open display: kai-zenbook.local:0
kai@kai-zenbook ~/d/r/simba (ethereum2) [1]>

Hi @kaimast, can you try this? it worked for me i think the stuff i commented previously was incorrect.

Thanks! Actually, it turned out I had to run wsl --update. I have not before because this is a fresh installl which I (falsely) assumed was up to date.