Arch-WSL icon indicating copy to clipboard operation
Arch-WSL copied to clipboard

open gui error

Open Historya opened this issue 1 year ago • 4 comments

gvim

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

Historya avatar May 23 '24 06:05 Historya

Same issue here.

edit found a small fix for this:

export DISPLAY=$(hostname).local:0

now i'm able to launch zathura

alanfzf avatar Jun 13 '24 06:06 alanfzf

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]>

kaimast avatar Jul 10 '24 22:07 kaimast

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

alanfzf avatar Jul 11 '24 00:07 alanfzf

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.

kaimast avatar Jul 11 '24 04:07 kaimast