X10 or X11 errors for Remote Engine 2.5.0 installation on Linux Server

Problem Description

When installing Remote Engine 2.5.0 on Linux Server, you may see an error similar to the following:

Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'localhost:13.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)


Root Cause

There are several reasons you may see this error:

  • The Job asks for a visual element, such as a prompt or a msgbox component
  • Java is incompatible with Linux updates
  • There is a very old version of Java installed on the server



There are two possible solutions:

  • Update the server configuration, as shown below:

    unset DISPLAY; 
    export DISPLAY=:0
  • Add the following JVM setting to the Advanced settings tab of your Job:

Version history
Revision #:
7 of 7
Last update:
‎05-03-2019 11:43 AM
Updated by: