Remote X session (WinXP -> Fedora Core 1)

Tim Wunder tim
Mon May 17 11:59:42 PDT 2004


On 2/23/2004 9:04 AM, I believe that Net Llama! wrote:

> On Sun, 22 Feb 2004, Tim Wunder wrote:
> 
>>I'm trying to connect a Windows XP laptop to my fedora core 1 box via
>>X-Win32, a vnc-like software product for Windows which I've been using
>>to connect to my redhat 7x server at work. But I'm not having any luck.
>>
>>Fedora Core uses gdm by default, so I've edited /etc/X11/gdm/gdm.conf so
>>that under the [xdmcp] section I have Enable=true.
>>I've edited /etc/X11/xdm/xdm-config so that I've commented out the line:
>>#DisplayManager.requestPort:    0
>>I've edited /etc/X11/xdm/Xaccess so that
>>*	CHOOSER BROADCAST
>>is not commented out.
>>
>>Thinking that the problem may be firewall related, I killed all my
>>iptables firewall rules, but I still can't get a login connection.
>>
>>xdmcp seems to be workeng when I'm local to the fedora core box ('X :1
>>-query localhost' works.)
>>
>>Anybody care to offer a suggestion on getting this to work?
> 
> 
> Can you telnet to port 6000 ?
> 

No

Can't telnet to 177 either.

And tcpdump -i eth0 src port 177 shows no activity when I try...

So...I checked my router, and it shows port 177 traffic trying to 
connect to 192.168.0.1, the IP of my redhat 7 server, which I'm NOT 
trying to connect to.

So, I killed all the sessions in X-Win32 that I had configured, the 
redhat 7 session used at work, and the FC1 session I was trying to use 
at home. I then started up a 'tcpdump -i eth0 src 177 -nn' on a SSH 
terminal on FC1 and created a new X-Win32 session to try to connect to 
192.168.1.2.

This yields some expected activity:
# tcpdump -i eth0 src port 177 -nn
tcpdump: listening on eth0
19:48:42.016422 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:48:44.016402 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:48:48.020761 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:48:56.021401 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:49:12.021368 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:49:44.023132 192.168.1.250.177 > 192.168.1.2.177: udp 7
19:50:16.024877 192.168.1.250.177 > 192.168.1.2.177: udp 7

which seems to be telling me that X-Win32 is *trying* to connect...
unfortunately, no xsession gets created :-(

Guess I have more playing around to do. Perhaps starnet's tech support 
can help.

Regards,
Tim





More information about the Linux-users mailing list