how to connect other network sun server [6]

how to connect other network sun server

Friday, March 4, 2005 1:03 PM - salam
Dear Sir or Madam:
I am sorry to disturb you. and I have question:
my client pc is in one network(192.168.0.2 ,and my servers are in another (192.168.1.3).and between them there is a firewall .in firewall system, server networks'all ports were opened to client's network .but still could not to open server's xwindows .so please give me help.
xstart could connect to servers , but xbrowser could not connect and give the message "xdmcp connection failed ,try again" .
must I write somethings on solaries server ?

supplement: in some articles said that you can start xdmcp with these operations below :
1.become a superuser(root)
2.run "/usr/dt/bin/dtconfig -e"
3.reboot
but when I run "dtconfig -e" command ,it messages "dtconfig:not found" . but I can see this file . how can I do ? is there something different in sun solaries 9.0 ?


Re: how to connect other network sun server

Friday, March 4, 2005 2:03 PM - Support
First, make sure that CDE is installed on your machine. If it is, try writing absolute path when running dtconfig script as following:
$ /usr/dt/bin/dtconfig -e [enter]

Your problem may occur when:
1. Firewall is not setup properly.
2. Name server has invalid name-to-ip or ip-to-name entry for your PC.

For each cause, try following solutions accordingly:
1. Allow TCP 6000~6010 ports from remote host to local PC direction. This includes any firewall in between your PC and remote host and firewall on your PC.
2. Add your PC¿s IP address to /etc/hosts file as following:
192.168.0.198 PC_NAME

If your problem persists, please send us following information:
1. Xmanager log file. It is located in the following directory:
C:\Documents and Settings\%USER%\Application Data\NetSarang\Xmanager\2\Log\*.log
2. Connection method using Xstart (SSH, Telnet, Rlogin¿)

Please let us know if we can be of further assistance.


Re: Re: how to connect other network sun server

Tuesday, March 8, 2005 12:27 PM - salam
at first I really appreciate your help .thank you.
I found my one mistake :
I remote-executed sun server's dtconfig,and I found this file couldn't be remote-executed. when I run dtconfig locally, it run (dtconfig -e).and I reboot .but still couldn't see the CDE.
by the way,I had done what you said.and
I ran xstart with telnet and ssh,they could connect remote xserver.
today I've written some lines in these files below ,but still couldn't work. here they are:
/etc/dt/config/Xservers
/usr/dt/config/Xservers
added line is : (my ip address :0 foreign)
/etc/dt/config/Xaccess
/usr/dt/config/Xaccess
added lines are:
salam.xju.edu.cn chooser broadcast
*.xju.edu.cn chooser broadcast
!* chooser broadcast

I don't know that these lines I wrote is correct and useful please give me help
thank you!!!!



Re: Re: Re: how to connect other network sun server

Tuesday, March 8, 2005 5:02 PM - Support
1. Remove a line that you added to /etc/dt/config/Xservers and /usr/dt/config/Xservers (my ip address :0 foreign). This line forces Solaris to run X server on your local PC. Also, your current Xaccess setting allows only listed entries to access XDM. Put a * mark in the first line of the Xaccess file.

2. Make sure that dtlogin process is running on your remote host by typing following command:
$ ps -aef | grep dtlogin

3. Add your PC¿s IP address to /etc/hosts file as following.
202.201.254.48 PC_NAME

4. Allow UDP 177 port on your remote host. Please refer to Xmanager FAQ # 5.

Hope this solves your problem.



Re: Re: Re: Re: how to connect other network sun server

Wednesday, March 9, 2005 8:28 PM - salam
thank you for your reply.
I've done all what you said ,but it still has that problem . and I think my firewall settings meybe have problems ,so I'm checking on it. and
If you have any other idea to solve this problem ,please tell me on this forum .or you can send me an e-mail .(salam@xju.edu.cn)
I will greatly appreciate your timely help.
thanks


I connected other network sun server (I

Thursday, March 10, 2005 3:03 PM - salam
I found my one mistake on the firewall.
I opened all tcp ports that Xmanager request ,but I forget to open udp port 177 , and I opened all udp ports .the problem has been solved .
thanks all bodies who give supports


Re: I connected other network sun server (I

Saturday, March 12, 2005 6:07 PM - Support
Thank you for your feedback.

Please let us know if we can be of further assistance.




Previous views: 215