D
D
Deaddy2019-08-23 09:13:52
linux
Deaddy, 2019-08-23 09:13:52

How to launch an x-application from the terminal without logging into the graphical system?

You need to run the application from the cron (1cv8 in "batch mode", with a bunch of command line parameters, creating databases, etc., no user reaction is required) on a Debian 9 server. The application requires a graphical interface. If you run it from a terminal opened in a graphical interface, everything works fine, but it does not work as expected from a clean console.
In which direction to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
egor_nullptr, 2019-08-23
@Deaddy

xvfb will help you https://en.wikipedia.org/wiki/Xvfb and the command xvfb-run manpages.ubuntu.com/manpages/xenial/man1/xvfb-run....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question