Skip to content

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.

0 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
7ptsr2

Author

7
posts
29
comments
1
media
View profile

7 comments

You could try Lynx Browser. It's a text browser

9 points

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.

-6 points

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.

8 points

There are browser options other than Firefox, but for your specific question I'm not sure sorry.

3 points

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

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.