What is xhost and how do I manage access to X server using it?

Solution Verified - Updated -

Issue

  • I want to control the access to X server in Red Hat Enterprise Linux OS
  • How can I use xhost to manage X server access control?
  • When executing "xhost +" command, getting following message. What it indicates?

    $ xhost +
    access control disabled, clients can connect from any host
    

Environment

  • Red Hat Enterprise Linux (all versions)

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.