This may be a stupid question, but is it possible to run GUI apps (Firefox for example) on a computer where I don't have a graphical desktop installed (like Gnome, Xfce)?
Asked
Active
Viewed 3.3k times
4 Answers
10
You can install X windows without installing a desktop, and run apps under bare X. It's a bit strange like that: no background, no window borders. Or you can add a minimal window manager.
4
Here are several headless X servers some of them are:
- virtual x server: xpra,
- nested: xnest, xserver-xephyr
Also, you can run xorg with dummy display driver.
zb'
- 642
3
Sure. There are couple of options (which you want is not clear from question).
- Some programs can be run in headless mode where they accept the situation where X-server is not available
- You only need X-server running at client computer, it is not necessary at the server running the software. For example, if Firefox is installed in server you use ssh to connect to you can use
ssh -Xto connect and run firefox at the server => firefox UI is drawn to your computer.
Ahe
- 1,088
1
i know this is an old post if anyone is searching for this use this:
install xorg first
sudo apt-get install xorg
if you dont already have install xterm
sudo apt install xterm
this is the command to run it in the same window or console
xinit firefox $* -- :0 vt$XDG_VTNR
use this to run on a different display
sudo xinit firefox $* -- :1
where 1 is display 1.
Haroon Al Hadi
- 11
- 1