How to control X server startup option "-nolisten tcp" ?

Solution Verified - Updated -

Issue

  • What is the use of "-nolisten tcp" argument for Xorg server and how it can be removed in Red Hat Enterprise Linux 6 ?

    # ps aux | grep Xorg
    root      9854  9852  4 10:54 tty7     00:01:01 /usr/bin/Xorg :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-Dv3eLk/database -nolisten tcp
    
  • How to prevent X Windows from listening on Port 6000 ?
  • How to configure Xorg server to listen for TCP connection from remote X clients ?

Environment

  • Red Hat Enterprise Linux
    • 5
    • 6
    • 7
    • 8
    • 9
  • gdm
  • kdm

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