Run Firefox without a GUI?
I recently installed Arch.
I didn't want to install a desktop or graphical interface, but I installed Firefox and it throws the error
GDK_BACKEND does not match available displays
and another user said most browsers require a desktop to write to the screen.
Someone tell me there's another way.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 7ptsr2
7 comments
You could try Lynx Browser. It's a text browser
Yeah, that's the one he recommended, which means I have to install some desktop environment. I installed xfce. Now I just have to get it working.
Lynx runs in the terminal, no need for X.
it's true: you need a graphical desktop to run Firefox, and probably any other mainstream or quasi mainstream web browser.
For a GUI-free environment, try a cli web browser like elinks, links2, lynx, or w3m.
Chrome and Firefox also have headless mode, which doesn't require a GUI, but as I understand it, you can't interactively browse the web with headless mode.
There are browser options other than Firefox, but for your specific question I'm not sure sorry.
Not if this helps but I used to run chrome in xvfb (x virtual frame buffer) which basically acts as a "screen" for the application to use. I'm sure you can apply the same idea but this was for using the browser programmatically (testing code) so ymmv depending on what you're doing
Web browsers for the console:
https://wiki.archlinux.org/index.php/list_of_applications#Console
Links has a framebuffer version