On Mon, 12 Feb 2001, te riet scholten s. wrote:
> Hello!
>
> I have a technical question about pmchart.
>
> Is it possible to make a gif-picture with pmchart(-o file) without a
> X-display?
> It works when I set $DISPLAY to a machine that has a X-display, but I like to
> have it done without this 'little trick'.
>
>
> Thanks in advance,
>
> Sander te Riet Scholten
> steriet@xxxxxx
>
Sander,
sorry, it's simply not possible. I can offer the reasons why, but it's
a fairly long explanation ...
If you are using PCP on linux, you can use the xvfb server as the
X server. This is a "virtual" X server, in that it has no actual
frame buffer - it's virtual. So you can run xvfb as a daemon
on (say) port 6001, and then connect pmchart to it by setting
the DISPLAY env var appropriately.
You can install the xvfb server from the XFree86-Xvfb RPM package
on any linux system. On non-linux systems, the XFREE86 source
code is available ...
thanks
-- Mark Goodwin
SGI Engineering
|