On 30/01/07, Zhasper <[EMAIL PROTECTED]> wrote:
On the machine that you're trying to connect to, try running (as root)
netstat -ntlp for me.

I think you'll find that X isn't listening on any TCP socket. It
certainly isn't on my ubuntu desktop.

If you look in /etc/gdm/gdm.conf, you'll find:

# 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=true

I would think that at a minimum you need to set that to "False" and
restart GDM; once it's listening on a socket (you probably want to
make it only listen on 127.0.0.1 - implementing this is left as an
exercise for the reader), you should be able to connect to it.

Also, I note that you're using Xubuntu, so (unless you installed it
yourself), GDM will be the wrong thing to look at - again, finding the
correct file is left as an exercise for the reader, as is finding some
way to do this that doesn't involve messing with text config files.

Reading
http://ubuntuguide.org/wiki/Ubuntu_Edgy#How_to_turn_on_the_XDMCP_feature
made me look at System -> Administration ->Login Window -> Security,
at which place I find a setting labelled "Deny TCP Connections to X
server", which has the additional description:"Disables X forwarding,
but does not affect XDMCP".

It defaults to being checked.

I would assume this corresponds to the option in the file I mentioned.
If this exists, or something similar, in Xubuntu, it would seem like a
good knob to twiddle.

--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to