java.lang.InternalError: Can't connect to X11 window server using ':0.0'

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 duc tung vu, 10 months ago
Can't connect to X11 window server using ':0.0'
via Google Groups by Sander, 2 years ago
Can't connect to X11 window server using '' as the value of the DISPLAY variable.
via Coderanch by chun-ying lin, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via redhat.com by Unknown author, 1 year ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via GitHub by Omertron
, 1 year ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via fromdev.com by Unknown author, 1 year 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.0'
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:64)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:167)
at java.security.AccessController.doPrivileged(AccessController.java:229)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:143)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:136)
at org.xhtmlrenderer.util.ImageUtil.createCompatibleBufferedImage(ImageUtil.java:107)
at org.xhtmlrenderer.util.ImageUtil.createCompatibleBufferedImage(ImageUtil.java:141)
at org.xhtmlrenderer.swing.Java2DRenderer.init(Java2DRenderer.java:350)
at org.xhtmlrenderer.swing.Java2DRenderer.(Java2DRenderer.java:116)
at org.xhtmlrenderer.swing.Java2DRenderer.(Java2DRenderer.java:161)

Users with the same issue

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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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