There is a need for an X environment for some builds to succeed.
The nature of the X server is irrelevant.
For this, a script could be devised to launch an Xvfb display with as much
safety as possible.
There are two possible modes of operation for such a script.
1. Run a single command under the Xvfb environment, then shutdown the server.
2. Launch an Xvfb server and dump environment variable settings for DISPLAY,
XAUTHORITY and a variable for Xvfb pid or pidfile in form of shell commands on
standard output. Usage for this is similar to that of ssh-agent:
# do stuff
xvfb-shutdown # this could be another script that picks up the variables
start-stop-daemon could be helpful in starting/stopping the Xvfb server reliably.
Created attachment 274 [details]
My previous attempt on this
This is a rework of oo-xvfb-run script from Debian.
reassign to real mantainer
It's packaged long time ago (Feb 06 2003) by Alexander Nikolaev.
Please check this package (xvfb-run-1.0-alt1).
xvfb-run works, thanks everyone involved.
So fixed? (btw, xvfb-run-1.2-alt2 now => seems maintained)
(In reply to comment #5)
> So fixed?
I think so.