Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: X11 issue when using reporting engine

  1. #1
    Join Date
    Jan 2012

    Exclamation X11 issue when using reporting engine

    Hi all,

    I'm switching my PDI from Windows to Linux, and I've an issue when I try to generate a pdf report file with a job using :

    ERROR 27-05 11:49:34,373 - Writing PDF failed.
    java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$200(
    at sun.awt.X11GraphicsEnvironment$
    at Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.GraphicsEnvironment.createGE(
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
    at java.awt.image.BufferedImage.createGraphics(

    the same scenario works if I launch it during an xterm session.

    Is there a way to use reporting engine without display

    Thanks in advance,


  2. #2
    Join Date
    Jan 2012


    I've found a solution, the problem isn't due to kettle reporting engine, but to my Linux configuration. I've solved it with the following export :

    export DISPLAY=:0.0 before launching


  3. #3
    Join Date
    Mar 2003


    alternatively: Make sure you start Kitchen in headless mode. This switches the AWT into a mode where it does not use the X11 server at all.

    Add "-Djava.awt.headless=true" to your java call in
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.