java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

Stack Overflow | user782220 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Profiling tomcat application with VisualVM

    Stack Overflow | 7 months ago | user782220
    java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

    Root Cause Analysis

    1. java.awt.AWTError

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

      at sun.awt.X11GraphicsEnvironment.initDisplay()
    2. Java RT
      X11GraphicsEnvironment$1.run
      1. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      2. sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
      3. sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
      3 frames