[clug] What holes do I punch into Windows XP home firewall for a remote X session?

Daniel Pittman daniel at rimspace.net
Fri Mar 20 00:22:35 GMT 2009


Jason Stokes <glasper9 at yahoo.com.au> writes:

> I have configured a desktop Ubuntu Linux box for remote X with XDMCP,
> and I can connect and login fine over the network when I boot my
> notebook in Ubuntu, but not when I am trying to connect with Cygwin/X
> on Windows XP.
>
> On XP, I can get the welcome screen OK but after I login the session
> freezes before I can get a desktop.  I have discovered that disabling
> the Windows firewall allows me to login fine, so it's clearly an issue
> with some port being blocked that Ubuntu/Gnome wants to talk to before
> setting up the desktop.
>
> I don't want to leave Windows Firewall off all the time -- does anyone
> know the specific port that is the hangup, and what service the Ubuntu
> box is trying to connect to?  If I know I can add an exception.

I don't know, I fear.  However, rather than asking us to guess you
should have been able to tell this for yourself fairly easily:

The firewall logs on the Windows system should tell you exactly what is
being blocked; if they don't then I suggest you configure them to record
that information.

Alternately, log in to a Unix system console, reproduce the problem,
then run 'netstat -tn' and look for ports in the SYN_SENT state, pointed
in the direction of the Windows machine.

Regards,
        Daniel


More information about the linux mailing list