Unable to forward "X" getting "xhost: unable to open display "localhost:0.0" " error.

Solution Unverified - Updated -


  • When trying to do Xhost + following error is observed:
[root@example.com]# xhost +
xhost:  unable to open display ""


  • Red Hat Enterprise Linux 5.8

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