why do gui programs depends on xserver

Asked by Zoran Bošnjak

I am using ubuntu 20.04 server (server edition), without xserver + another ubuntu 20.04 node with active xserver.

My intention is to run some GUI applications on the "server", but with a display on "another node" where the xserver is already running, for example running from another node:

---
ssh -X user@server
sudo apt install retext
retext
# It's not "retext" speciffic. Only an example.
---

The problem is that installing "retext" on the "server" would also install (and auto start on reboot) the xserver on the "server". What is worse is that also other unwanted processes are activated automatically, for example: auto suspend mode which puts the "server" into sleep after a while.

How do I prevent starting or even installing xserver on the "server", but still being able to run GUI programs as described in the scenario above?

Question information

Language:
English Edit question
Status:
Needs information
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

https://github.com/retext-project/retext

Its a GUI based application so the GUI parts will be pulled in as dependencies. You can opt to not install the suggested packages
https://packages.ubuntu.com/hirsute/retext

Why install a GUI editor on a server? What are you trying to do here?

Can you help with this problem?

Provide an answer of your own, or ask Zoran Bošnjak for more information if necessary.

To post a message you must log in.