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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content