Check the gdm desktop manager settings. gdm starts the X server.
On a squeeze machine I have:
defaults: /usr/share/gdm/defaults.conf
custom: /etc/gdm/gdm.conf
Code:
# 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 attached sessions.
DisallowTCP=true
Your distro's gdm configuration files may be different.
Bookmarks