The Computer Oracle

GUI Apps without a graphical desktop

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Switch On Looping

--

Chapters
00:00 Gui Apps Without A Graphical Desktop
00:18 Answer 1 Score 3
00:50 Accepted Answer Score 10
01:07 Answer 3 Score 3
01:25 Answer 4 Score 1
01:49 Thank you

--

Full question
https://superuser.com/questions/503343/g...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#linux #fedora #desktop

#avk47



ACCEPTED ANSWER

Score 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.

Can I have Graphics on Linux without a desktop manager?




ANSWER 2

Score 3


Sure. There are couple of options (which you want is not clear from question).

  1. Some programs can be run in headless mode where they accept the situation where X-server is not available
  2. 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 -X to connect and run firefox at the server => firefox UI is drawn to your computer.



ANSWER 3

Score 3


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.




ANSWER 4

Score 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.