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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Wim S, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via Google Groups by Patrick M. McLeod, 6 months ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via staf by bmahule
, 1 year ago
Can't connect to X11 window server using 'machine\_name/ip\_address:0.0' as the value of the DISPLAY variable.
via Oracle Community by 740939, 7 months ago
Can't connect to X11 window server using ': 0.0' as the value of the DISPLAY variable.
via Oracle Community by AnandC, 10 months ago
Can't connect to X11 window server using '10.3.3.98:0.0' as the value of the DISPLAY variable.+
via Stack Overflow by Unknown author, 2 years ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(Unknown Source)
at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at javax.swing.JFrame.(Unknown Source)
at org.bioinfo.ngs.qc.qualimap.gui.frames.HomeFrame.(HomeFrame.java:151)
at org.bioinfo.ngs.qc.qualimap.main.NgsSmartMain.launchGUI(NgsSmartMain.java:150)
at org.bioinfo.ngs.qc.qualimap.main.NgsSmartMain.main(NgsSmartMain.java:48)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.