Alex, xvfb http://www.xfree86.org/4.0.1/Xvfb.1.html works for our headless node R graphics and possibly other packages.
We do the same as Peter mentioned.
We generate pdfs or you could generate a mixed datatype html file linking to seperate documents/images (like the fastQC tool).
If you get the export to png working on a headless server without desktop/gui..please let me know. In our hands it only works on full desktop linux environments somehow.
Van: email@example.com [mailto:firstname.lastname@example.org] Namens Samuel Lampa
Verzonden: zondag 16 december 2012 23:14
Aan: Peter Cock
Onderwerp: Re: [galaxy-dev] Integrating generated graphics from cli tool?
On 12/14/2012 07:40 PM, Peter Cock wrote:
> On Fri, Dec 14, 2012 at 6:18 PM, Samuel Lampa <email@example.com> wrote:
> There are existing tools which produce a PDF file as a Galaxy output,
> shown as its own 'green box' in the history. This works quite nicely
> if the browser shows the PDF in-line, but one one of my machines (not
> sure which browser off hand) it insists on downloading the PDF and
> opening it instead - which isn't quite as smooth an interface.
Thanks for the info!
Seems like that could be one way of doing it. I would probably output png rather than pdf, and that might work better.