xdpyinfo: unable to open display ":0".

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.