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

Stack Overflow | Gopi | 2 months ago
  1. 0

    How to open netbeans from unprivileged user?

    Stack Overflow | 2 months ago | Gopi
    java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  2. 0

    GitHub comment 45#222774855

    GitHub | 6 months ago | prvst
    java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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.

    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$200(X11GraphicsEnvironment.java:65)
      3. sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
      6. java.lang.Class.forName0(Native Method)
      7. java.lang.Class.forName(Class.java:195)
      8. java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
      9. java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
      9 frames
    3. sun.awt.X11
      XToolkit.<clinit>
      1. sun.awt.X11.XToolkit.<clinit>(XToolkit.java:120)
      1 frame
    4. Java RT
      JOptionPane.showConfirmDialog
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:195)
      3. java.awt.Toolkit$2.run(Toolkit.java:869)
      4. java.security.AccessController.doPrivileged(Native Method)
      5. java.awt.Toolkit.getDefaultToolkit(Toolkit.java:861)
      6. sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:1928)
      7. javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:752)
      8. javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:434)
      9. javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
      10. javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589)
      11. javax.swing.UIManager.setLookAndFeel(UIManager.java:536)
      12. javax.swing.UIManager.setLookAndFeel(UIManager.java:576)
      13. javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1345)
      14. javax.swing.UIManager.initialize(UIManager.java:1455)
      15. javax.swing.UIManager.maybeInitialize(UIManager.java:1422)
      16. javax.swing.UIManager.getUI(UIManager.java:1003)
      17. javax.swing.JOptionPane.updateUI(JOptionPane.java:1883)
      18. javax.swing.JOptionPane.<init>(JOptionPane.java:1846)
      19. javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:858)
      20. javax.swing.JOptionPane.showConfirmDialog(JOptionPane.java:796)
      21. javax.swing.JOptionPane.showConfirmDialog(JOptionPane.java:758)
      21 frames
    5. org.netbeans
      Main.main
      1. org.netbeans.MainImpl.execute(MainImpl.java:217)
      2. org.netbeans.MainImpl.main(MainImpl.java:85)
      3. org.netbeans.Main.main(Main.java:83)
      3 frames