Hello,
On Mon, Jun 4, 2012 at 12:27 PM, Andreas Tille <[email protected]> wrote:
> run:
> [copy] Copying 1 file to /tmp/buildd
> [java] No protocol specified
> [java] Exception in thread "main" java.lang.InternalError: Can't connect
> to X11 window server using ':0.0' as the value of the DISPLAY variable.
> [java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> [java] at
> sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:62)
> [java] at
> sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:178)
> [java] at java.security.AccessController.doPrivileged(Native Method)
> [java] at
> sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:142)
> [java] at java.lang.Class.forName0(Native Method)
> [java] at java.lang.Class.forName(Class.java:186)
> [java] at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
> [java] at java.awt.Window.init(Window.java:424)
> [java] at java.awt.Window.<init>(Window.java:477)
> [java] at java.awt.Frame.<init>(Frame.java:419)
> [java] at ij.ImageJ.<init>(ImageJ.java:132)
> [java] at ij.ImageJ.main(ImageJ.java:657)
>
>
> I can confirm that debuild works fine because there is a properly
> setup X environment.
>
> Any clue? The hint from Steve[2] did not ring a bell when I was looking
> at the lines of code where the problem occured.
I had similar problems that I solved using xvfb, that provides a
dummy well-behaved X11 server. Just wrap the call to the build system
with xvfb.
Let's just hope the results of the build are not X11-server-dependent !
Hope this helps,
Vincent
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/caenrq5owm99piyf2n5y9yqtqnb+0wotbzogv+w4t7efbd71...@mail.gmail.com