java.awt.AWTError: Can't connect to X11 window server using 'mylocaldesktopIP:0.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 Oracle Community by Dharmendra Kumar, 1 year ago
Can't connect to X11 window server using 'mylocaldesktopIP:0.0' as the value of the DISPLAY variable.
via Stack Overflow by Venkat Subramanian
, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Stack Overflow by karthi
, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via GitHub by avilella
, 1 month ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via GitHub by nbarrett
, 6 months ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via GitHub by LusciousPear
, 7 months ago
Can't connect to X11 window server using ':109' as the value of the DISPLAY variable.
java.awt.AWTError: Can't connect to X11 window server using 'mylocaldesktopIP:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at java.awt.Window.initGC(Window.java:475)
at java.awt.Window.init(Window.java:495)
at java.awt.Window.(Window.java:537)
at java.awt.Frame.(Frame.java:420)
at java.awt.Frame.(Frame.java:385)
at javax.swing.JFrame.(JFrame.java:189)
at intradoc.apps.shared.MainFrame.(MainFrame.java:67)
at intradoc.apputilities.componentwizard.CWizardFrame.(CWizardFrame.java:74)
at undefined.ComponentWizard.main(ComponentWizard.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at intradoc.loader.IdcClassLoader.invokeMain(IdcClassLoader.java:392)
at intradoc.loader.IdcClassLoader.startMain(IdcClassLoader.java:187)
at intradoc.loader.IdcClassLoader.main(IdcClassLoader.java:152)

Users with the same issue

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

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