xdpyinfo: unable to open display ":0".
Issue
- Our application team is reporting that they are facing some DISPLAY variable issue and needs X11 to be configured.
xdpyinfo: unable to open display ":0".
- Java application giving following error.
Error: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.