Use GUI application on Github Codespace

19 Views Asked by At

I recently created a Github Codespace but when I tried to run applications like Firefox, I got this:

Error: no DISPLAY environment variable specified

I guess this is because Github Codespace don't have a buildin GUI.

My home computer's operating system is Windows 11 and my Codespace is a 4 cores, 16 GB RAM, 32 GB storage Ubuntu with only a Vscode as GUI.

I really just want to access web pages and DON'T mention w3m.

I tired to follew this article to solve the problem, but I when I tried to connect to my Codespace via Github CLI, I got this:

C:\Users\my-user-name>gh cs ssh -- -XY

selecting ssh keys: checking configured keys: could not find ssh executable: exec: "ssh": executable file not found in %PATH%

I find this and tried it out, but I don't know if I can't find the .devcontainer folder on my Codespace and basicly don't know what to do.

Can you help? Thank you very much.

0

There are 0 best solutions below