[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to enable X Windows listen to the query on port 6000



 
    
how to enable X Windows listen to the query on port 6000
--------------------------------------------------------

[root@blockader gdm]# pwd
/etc/X11/gdm

[root@blockader gdm]# diff gdm.conf gdm.conf.orig 
191c191
< DisallowTCP=false
---
> #DisallowTCP=true

Then restart gdm.

According to gdm.conf:

...
# If true this will basically append -nolisten tcp to every X command line,
# a good default to have (why is this a "negative" setting? because if
# it is false, you could still not allow it by setting command line of
# any particular server).  It's probably better to ship with this on
# since most users will not need this and it's more of a security risk
# then anything else.
# Note: Anytime we find a -query or -indirect on the command line we do
# not add a "-nolisten tcp", as then the query just wouldn't work, so
# this setting only affects truly local sessions.
DisallowTCP=false
...

Google