0

I just used archinstall to install arch in VirtualBox with the xorg profile and also installed htop, neofetch and firefox. When I typed htop into the command line, htop launched:

here's htop

That looks, normal right? But when I typed firefox, I got an error:

error:no DISPLAY environment variable specified

here's the error too

2
  • 3
    Are you actually having X11 in use? It appears from your screenshots that you are not using a GUI running in the VM but are using a terminal. You should describe how you are accessing the VM. Commented Jun 18, 2022 at 14:50
  • 2
    Yes, Arch won't install a graphical environment by default. Now, installing firefox might have brought the relevant packages in, but you would still need to launch X or at least reboot and see if it now presents you with a graphical login. But you won't be able to run graphical tools like firefox without a GUI. Commented Jun 18, 2022 at 16:34

1 Answer 1

1

You likely want to install a desktop environment which makes use of a ‘display manager’. Without said display manager you will have no DISPLAY environment value and so GUI programs won’t really have much to work with.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.