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 GitHub by Gillingham
, 1 year ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via GitHub by alex1702
, 1 year ago
Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
via GitHub by huangjqiu
, 1 year ago
Can't connect to X11 window server using ':1.0' as the value of the DISPLAY variable.
via GitHub by EvilBob01
, 7 months ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Unix & Linux by Merlin
, 1 year ago
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
via Ask Ubuntu by user401575
, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.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 sun.awt.X11.XToolkit.(XToolkit.java:126)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:264)	at java.awt.Toolkit$2.run(Toolkit.java:860)	at java.awt.Toolkit$2.run(Toolkit.java:855)	at java.security.AccessController.doPrivileged(Native Method)	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)	at java.awt.Desktop.isDesktopSupported(Desktop.java:169)	at java.awt.Desktop.getDesktop(Desktop.java:143)	at dekk.pw.pokemate.Context.Login(Context.java:88)	at dekk.pw.pokemate.Context.Login(Context.java:49)	at dekk.pw.pokemate.PokeMate.(PokeMate.java:59)	at dekk.pw.pokemate.PokeMate.main(PokeMate.java:93)