Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#407018: fop: fails to run when no X server present.

0 views
Skip to first unread message

Kuno Woudt

unread,
Jan 15, 2007, 9:00:22 PM1/15/07
to
Package: fop
Version: 1:0.20.5-5
Severity: normal


When trying to run /usr/bin/fop on a server which currently has no X
server running, it fails with the following error message:

Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:125)

My current work-around is to add

export JAVA_OPTS=-Djava.awt.headless=true

to the /usr/bin/fop script. But it would be nice if this worked
out-of-the-box on debian.

Thanks.

-- Kuno.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages fop depends on:
ii j2re1.4 [java2-run 1.4.0.99beta-1 Blackdown Java(TM) 2 Runtime Envir
ii java-common 0.22 Base of all Java packages
ii libavalon-framewor 4.1.2-2.1 Common framework for Java server a
ii libbatik-java 1.5.1-1 xml.apache.org SVG Library
ii libbsf-java 1:2.3.0+cvs20050308-2 Bean Scripting Framework to suppor
ii liblogkit-java 1.2.2-2 Lightweight and fast designed logg
ii libxalan2-java 2.6.0-1 XSL Transformations (XSLT) process
ii libxerces2-java 2.6.2-2 Validating XML parser for Java wit

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages