java.lang.InternalError

Can't connect to X11 window server using 'localhost:1' as the value of the DISPLAY variable.

Solutions on the web793

  • Can't connect to X11 window server using 'localhost:1' as the value of the DISPLAY variable.
  • Can't connect to X11 window server using 'localhost:1' as the value of the DISPLAY variable.
  • Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
  • Stack trace

    • java.lang.InternalError: Can't connect to X11 window server using 'localhost:1' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52) at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155) at java.security.AccessController.doPrivileged(Native Method) at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68) at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1135) at org.pentaho.reporting.libraries.fonts.awt.AWTFontMetrics.produce(AWTFontMetrics.java:59) at org.pentaho.reporting.libraries.fonts.awt.AWTFontMetrics.<clinit>(AWTFontMetrics.java:49) at org.pentaho.reporting.libraries.fonts.awt.AWTFontMetricsFactory.createMetrics(AWTFontMetricsFactory.java:63) at org.pentaho.reporting.libraries.fonts.registry.DefaultFontStorage.getFontMetrics(DefaultFontStorage.java:79)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago