Re: X stub server for headless testing?



Ross McFarland wrote:
... if we're friends we're apparently not very close. [ ... Xvfb
works for simple stuff, but not for 'make test' ... ]

Found this; maybe it will suggest something helpful (I don't have Xvfb handy, not time to play with it right now):

> [from http://www.lysator.liu.se/~alla/dia/faq.html ]
> ... 25.
Q: How can I use Dia to convert files without running X? A:
Currently, Dia depends on X for various things, but it is planned to
allow conversions without running X. In the meanwhile, you can use
Xvbf to simulate an X server with the command:
[ NOTE: the following should be ONE line ]
startx "/usr/bin/env DISPLAY=:1 /usr/bin/dia -e $HOME/tmp/foo.png $HOME/tmp/foo.dia" -- /usr/X11R6/bin/Xvfb 
:1 -once -nolisten tcp

Maybe gtk apps require some kind of WM (which I assume startx is going to start).

<Joe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]