Running Xvfb during a package build -- good idea?

Richard W.M. Jones rjones at redhat.com
Tue Sep 30 18:13:01 UTC 2008


On Tue, Sep 30, 2008 at 01:04:20PM -0500, Callum Lerwick wrote:
> Hmmm, I could have sworn Wine can run console Win32 apps without an X
> server. In fact, I just tried it, a simple hello world app runs just
> find on a vconsole with no accessible X server. Though I notice trying
> to run a GUI app fails:
> 
> $ DISPLAY="" wine ./gtk-demo.exe 
> Application tried to create a window, but no driver could be loaded.
> Make sure that your X server is running and that $DISPLAY is set
> correctly.
[...]
> Are the unit tests GUI for some reason? I'd advise patching them to be
> console only...

Lots of the tests run without X, but not all of them, although the
ones which require it don't seem to actually do anything (displaying a
window etc.)  They give the same error as above.

Yes, these should be patched ...  At the moment I'm just trying to
work out why the tests sometimes fail unpredictably (about 50% of the
time a test will fail at some random place).

Here's the spec file:

http://hg.et.redhat.com/misc/fedora-mingw--devel/?f=05fcc324edbd;file=openssl/mingw32-openssl.spec

I found I had to add -noreset to the Xvfb command line, otherwise it
exits after the first X program goes away.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the fedora-devel-list mailing list