Operating System - HP-UX
1834346 Members
2129 Online
110066 Solutions
New Discussion

Re: Cannot X-Windows to another subnet

 
Veron Le_1
Occasional Advisor

Cannot X-Windows to another subnet

hi,

We have some subnet:
x.x.20.x; x.x.21.x; x.x.103.x with mask: 255.255.255.0
My PC is on x.x.103.x, I CAN use X-Windows to connect to x.x.20.x, and I CANNOT use X-Windows to connect x.x.21.x. However I CAN use X-Windows to connect x.x.21.x from PC on the same subnet.

The question is why I only can using X-Windows on the same subnet Once I cannot when on the different subnet????

Appreciate your soon response.
Thanks very much.
TLC
14 REPLIES 14
Bill McNAMARA_1
Honored Contributor

Re: Cannot X-Windows to another subnet

Xwindows discusses over tcp port 6000. Make sure that there is no firewalling or routing problems.
It works for me (tm)
Veron Le_1
Occasional Advisor

Re: Cannot X-Windows to another subnet

I discussed with network management, they confirm that all port are opened, any no firewall using.

Thanks for you quick response.
Victor BERRIDGE
Honored Contributor

Re: Cannot X-Windows to another subnet

Hi,
Just some thoughts...
Are you sure of the netmask at x.x.20.x and more specifically x.x.21.x It could look like a 255.255.252.0 having the same gateway for both (which is correct)...

All the best
Victor
Ravi_8
Honored Contributor

Re: Cannot X-Windows to another subnet

Hi,

can u make network FD(full duplex) on both ends and give a try
never give up
Massimo Bianchi
Honored Contributor

Re: Cannot X-Windows to another subnet

Hi,
just another hint: are routes configured in the same manner, from x.21.x and x.20.x ?

May be they go throught different path.

Also: do you allow connection from all hosts ?

HTH,
Massimo
Hai Nguyen_1
Honored Contributor

Re: Cannot X-Windows to another subnet

Trung,

Your routing may not be correct.

Can you ping the server on x.x.21.x from your x.x.103.x PC?

One option is when you open an x-sesssion to x.x.20.x from your 103 subnet, telnet to x.x.21.x from the x-session.

Hai
Ian Hillier
Frequent Advisor

Re: Cannot X-Windows to another subnet

We use Exceed here and had the same situation. There's a file called xdmcp.txt that I had to populate with the subnets I need access to.

192.168.101.255
192.168.110.255

You can also put individual addresses in there, but putting the .255 address covers all xhosts in that subnet.

I think these files/conventions are standard so whatever program you're using should have the same type of config file.

Regards,

John
John Dvorchak
Honored Contributor

Re: Cannot X-Windows to another subnet

It really sounds to me like the system on x.x.21.x either has the wrong netmask or it's default gateway is nonexistant or incorrect.

From the 103 box ping or traceroute to the 21 box and see if you get returns. My guess is that it will fail. If it fails contact the admin on the 21 box to verify his netmask and default router/gateway settings are correct.
If it has wheels or a skirt, you can't afford it.
George Liu_2
Frequent Advisor

Re: Cannot X-Windows to another subnet

Your network setting has a problem, or security stuff not just firewall, may be tcp-wrapper, is functioning. Try telnet remoteIP 6000 to test X port is accessible first.
Veron Le_1
Occasional Advisor

Re: Cannot X-Windows to another subnet

Hi all,

Thank you all for your help here. And I am very sorry for my hang becaue of my sickness.

I's like to add more that, all above subnet was routed by router and I CAN ping as well as telent and do every thing without running X-windows from x.x.x.x to x.x.21.x. And even I CANNOT add a network printer on another subnet to my server on x.x.21.x but I CAN when add to server on x.x.x.x

Pls help in urgently
Thanks so much.
Veron Le_1
Occasional Advisor

Re: Cannot X-Windows to another subnet

Tried to call Response Center, but this is belong to third party responsibility they dont support. Any help????
K.Vijayaragavan.
Respected Contributor

Re: Cannot X-Windows to another subnet

Add an entry,

dtsapc allow x.x.20.x x.x.21.x


in the /var/adm/inetd.sec and try.
"Let us fine tune our knowledge together"
K.Vijayaragavan.
Respected Contributor

Re: Cannot X-Windows to another subnet

XDMCP Access control file is
/usr/dt/config/Xaccess.

You may have to manipulate the content of it if required.
"Let us fine tune our knowledge together"
Massimo Bianchi
Honored Contributor

Re: Cannot X-Windows to another subnet

Hi,
did yuo try a check with a tool like nmap ?
It's a port scanner, so you can check if packets are blocked or if there are problem with the autorizations..


Did you check if the command

xhosts +

is O.K. (for letting xclient connection...)

HTH,
Massimo