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

Ask Ubuntu | jenzinas | 4 years ago
  1. 0

    sudo - Eclipse Juno won't open gui java apps when run with gksudo - Ask Ubuntu

    askubuntu.com | 1 year ago
    java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  2. 0

    Eclipse Juno won't open gui java apps when run with gksudo

    Ask Ubuntu | 4 years ago | jenzinas
    java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  3. 0

    Cannot start Jajuk remotly

    GitHub | 2 years ago | bflorat
    java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InternalError

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

      at sun.awt.X11GraphicsEnvironment.initDisplay()
    2. Java RT
      GraphicsEnvironment.getLocalGraphicsEnvironment
      1. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      2. sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
      3. sun.awt.X11GraphicsEnvironmNent$1.run(X11GraphicsEnvironment.java:155)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
      6. java.lang.Class.forName0(Native Method)
      7. java.lang.Class.forName(Class.java:169)
      8. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
      8 frames
    3. sun.awt.X11
      XToolkit.<clinit>
      1. sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
      1 frame
    4. Java RT
      SwingUtilities.invokeLater
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:169)
      3. java.awt.Toolkit$2.run(Toolkit.java:834)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
      6. java.awt.Toolkit.getEventQueue(Toolkit.java:1689)
      7. java.awt.EventQueue.invokeLater(EventQueue.java:1032)
      8. javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1267)
      8 frames
    5. codetests
      DialogTest.main
      1. codetests.DialogTest.main(DialogTest.java:72)
      1 frame