java.lang.InternalError: Can't connect to X11 window server using ':3.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 428202, 1 year ago
Can't connect to X11 window server using ':3.0' as the value of the DISPLAY variable.
via Google Groups by Patrick 'Patsie' Lina, 2 years ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 400263, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 385125, 1 year ago
Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
via Oracle Community by 401820, 1 year ago
Can't connect to X11 window server using '10.56.4.10:0. 0' as the value of the DISPLAY variable.
via Oracle Community by 393611, 4 months ago
Can't connect to X11 window server using '192.168.1.203
java.lang.InternalError: Can't connect to X11 window server using ':3.0' as the value of the DISPLAY variable.
at sun.awt.motif.MToolkit.(MToolkit.java:43)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:399)
at java.awt.Font.initializeFont(Font.java:106)
at java.awt.Font.(Font.java:121)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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