Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open gui error #46

Open
Historya opened this issue May 23, 2024 · 4 comments
Open

open gui error #46

Historya opened this issue May 23, 2024 · 4 comments

Comments

@Historya
Copy link

gvim

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

@alanfzf
Copy link

alanfzf commented Jun 13, 2024

Same issue here.

edit found a small fix for this:

export DISPLAY=$(hostname).local:0

now i'm able to launch zathura

@kaimast
Copy link

kaimast commented Jul 10, 2024

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

@alanfzf
Copy link

alanfzf commented Jul 11, 2024

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

@kaimast
Copy link

kaimast commented Jul 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

3 participants