You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Steve Loughran <st...@iseran.com> on 2001/03/21 03:22:20 UTC

Fw: running batik on unix box without X11?

sorry, I accidentally sent this to batik-dev, not batik-users. I'll send it
to the appropriate place now.

-steve

(who is getting it wrong with mail lists today, having submitted a big ant
update to the dotnet mail list)


----
I'm trying to run batik server side, and while I can do it ok on an NT box,
when bring the code up on a unix box, I get an exception saying my display
variable isnt right.

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
the value of the DISPLAY variable.
at
org.apache.batik.transcoder.image.ImageTranscoder.(ImageTranscoder.java:102)
at
org.apache.batik.transcoder.image.JPEGTranscoder.(JPEGTranscoder.java:34)
...

now my display variable is going to be zero because this box will not have
an X11 server, and it doesnt seem to have any one nearby to talk to either.
So I am stuck.

I've looked at the latest source, and the obvious conclusion is that
something which is created with ImageTranscoder either a parent or a
contained object is looking for X11.

Does anybody know how to fix this without running X11?

-steve



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org