Knut Arne Bjørndal <[EMAIL PROTECTED]> writes:
> I've got a client setup on my workstation at work where tilesAtHome
> runs as it's own user. Trying to make it use BatikAgent as rasterizer
> it started the agent just fine but threw a NoClassDefFoundError saying
> "Could not initialize class sun.awt.X11GraphicsEnvironment" when doing
> a svg2png operation.
>
> Unsetting DISPLAY (which it wouldn't be able to open as it was owned
> by another user) seems to solve the problem. Using Batik as a jar
> directly worked just fine though. Is this something that can/should be
> fixed in batik-agent.jar, or should I add something like
> $ENV{DISPLAY}='' in BatikAgent.pm?
What is Batik trying to use the DISPLAY for? If it makes sense for
some users that Batik can use DISPLAY I would not just disable it
alltogether.
I would say it's a bug in Batik if it fails in that way.
Inkscape has the same issue, but at least it tells you that it
couldn't open DISPLAY.
Matthias
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome