[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DISPLAY variable-error on a remote machine
Bob Stayton <bobs@sagehill.net> writes: > I ran across this error message when processing on a certain version of > Linux with a certain version of Java 1.3, but I can't quote the versions > now. One of the Java 1.3 classes that the Saxon graphics extension calls > required access to an X11 server, for some unknown reason. Norm and I > concluded that it was a Java bug that was fixed in later versions of Java. > If you turn off the graphicsize.extension, it should work. Or if you are using Java 1.4, you can call java like this: java -Djava.awt.headless=true ... Or upgrade to the current version of the stylesheets. We made a change in either the 1.66.0 or 1.66.1 release that causes both the Saxon and Xalan2 versions of the extensions to now set the "java.awt.headless" Java 1.4 system property to true. That property tells Java to continue processing AWT-based code even if no X server/DISPLAY is found. (The "ImageIntrisics" class in the DocBook Java XSLT extensions relies on the Java AWT library. And by default, the Java AWT library expects an X server.) --Mike > ----- Original Message ----- > From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de> > To: "docbook-apps" <docbook-apps@lists.oasis-open.org> > Sent: Monday, March 28, 2005 7:33 AM > Subject: [docbook-apps] DISPLAY variable-error on a remote machine > > > > Hello list, > > > > I'm using the XSLT stylesheets 1.62.4. When I'm directly logged in on my > > machine, everything works fine. > > > > But using it as a remote machine, being logged in via ssh, > > I get the following error message: > > > > > > [...] > > Writing html/ch01s03.html for sect1(sec.CompilingLinkingRunning) > > Writing html/ch01.html for chapter(cha.InstallingAndRunning) > > Writing html/ch02s01s01.html for sect2 > > Writing html/ch02s01s02.html for sect2 > > Writing html/ch02s01.html for sect1(sec.Strings) > > Error at xsl:value-of on line 238 of > > file:/KM/usr/ziegler/DocBook/docbook-xsl-1.62.4/html/graphics.xsl: > > Exception in extension function java.lang.InternalError: Can't > > connect to X11 window server using ':0.0' as the value of the DISPLAY > > variable. > > Transformation failed: Run-time errors were reported > > > > > > What have the stylsheets to do with the X11 server, and how can I use > > them from a remote connection? > > > > Any help appreciated! > > > > Greetings, > > Joachim -- Michael Smith http://logopoeia.com/ http://www.oreillynet.com/pub/au/890
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]