Re: xvfb-run with windowmanager
On Fri, Jun 19, 2015 at 4:09 AM, Ole Streicher wrote:
> I have a test script that works only in an X11 environment with
> window manager. How can I start this with xvfb-run, so that it works
> during package build and CI test? And which window manager should I
> choose?
For warzone2100, we are using this in debian/rules:
override_dh_auto_build:
# The HTML to PDF converter needs an X server
# The default bit depth is too low for the images in the PDF
xvfb-run --auto-servernum --server-args="-screen 0
1024x768x24" dh_auto_build
Your script will probably need to be run under xvfb-run and start both
the WM and run the tests, probably with a sleep in between. I would
choose a light WM, probably fluxbox/openbox would be good.
--
bye,
pabs
https://wiki.debian.org/PaulWise
Reply to: