Xmanager Forum

XDMCP Connection failed.Try again? While Trying to Connect Solaris

Last post: Monday, December 18, 2006 7:19 PM by Jeff Chan, 10 reply

 
Monday, November 28, 2005 9:06 PM - Periyasamy Rajamanickam

XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
Connection Method: Xbrowser
Vendor/Version of server: Solaris 5,8
Network configuration: firewall

I am trying to connect my Sun Solaris 5.8 server through xmanager 2.0 which is behind a firewall.

Server = Firewall(Server End) = Firewall(Client End) = Client Machine(Windows 2000)

Port 6000:6010 has been open in client machine.
Port 177 is open on Solaris Server

While connecting it says
"XDMCP Connection failed.Try again?"

In Log file:-
Waiting for client connections ...

Xdmcp Request Address: 203.132.147.88
Xdmcp Connection Address 0: 192.9.200.169
Xdmcp: sent a REQUEST message
Xdmcp: received an ACCEPT message
Xdmcp: sent a MANAGE message.
Xdmcp: Timed out, state 8. Retransmissions: 0
Xdmcp: sent a MANAGE message.
Xdmcp: Timed out, state 8. Retransmissions: 1
Xdmcp: sent a MANAGE message.
Xdmcp: Timed out, state 8. Retransmissions: 2
Xdmcp: sent a MANAGE message.
Xdmcp: Timed out, state 8. Retransmissions: 3
XDM go to sleep: too many retransmissions
User forces server termination.

Exiting the waiting loop ...

X server was terminated normally.
Attachment X0.log (3.1 KB)  
Monday, November 28, 2005 9:12 PM - Periyasamy Rajamanickam

Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
/var/dt/Xerrors

Mon Nov 28 16:51:22 2005
error (pid 96): Hung in XOpenDisplay (192.9.200.169:0) attempt #0, aborting.

Mon Nov 28 16:51:22 2005
error (pid 96): Server open attempt #0 failed for 192.9.200.169:0, giving up
Tuesday, November 29, 2005 1:46 PM - Steve needs Jobs

Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
It seems like your PC is behind either router, firewall or gateway. In this case, you need to set up port forwarding rules. Take a look at the Xmanager FAQ # 4.

/products/xmg_faq.html#p4

However, I recommend you using SSH instead. It is a reliable and secure alternative. Use Xstart to start an xterm window and from there, if you want to use the CDE, you can use the '/usr/dt/bin/Xsession &' command.
Sunday, September 16, 2007 2:05 AM - PCAdmin

Re: Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
I think your solution is really good however it doesnt seem to work for me. I'm connecting to a red hat machine (i cannot modify anything on this machine, im not root) and that command doesnt work.

I've forwarded port 177 on my router and yet it doesnt work so i wanna try your solution. I connected with ssh and I used xsession on the linux machine but all window components come sepparately so i end up with 8 windows each for the different components of the gui to start with.

what can i do now?
Monday, September 17, 2007 10:43 AM - Steve

Re: Re: Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
I am assuming you are in Multiple Window Mode. From Xconfig > Default Profile > General > Window Mode, choose Single Window Mode.

In case you need some other sessions to be opened in Multiple Window Mode, create a new Xconfig profile and match your session to use that specific Xconfig profile.
Friday, September 21, 2007 12:49 PM - PCAdmin

Re: Re: Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
oh yeah that did the trick lol..

i have 1 question, obviously the connection is painfully laggy.. would the connection through Xbrowser be quicker than this ssh alternative? cause if it is i think it's worth trying to fix my forwarding issue.
Friday, September 21, 2007 4:01 PM - VK

Re: Re: Re: Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
Using SSH protocol does not specifically make the connection speed slower. Try to use "Compress network data (using zlib compression)" option in SSH Protocol Setup if you are in slow network environment.

-VK
Tuesday, December 13, 2005 7:29 PM - Senthil

Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
Hi,

Im also facing the same problem. If you would have got the solution, kindly let me know it.

My mail ID : senthil.kathiravan@wipro.com
Wednesday, December 14, 2005 11:52 AM - Lady Flamboyant

Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
I think your question is already answered here:

/bbs/detail.html?id=xmanager&num=2302&page=&s_select=&s_text=

Ciao
Saturday, December 16, 2006 12:48 AM - Carlos

Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
Hello:
I have the same problem and, I need to know if the solution of port forwarding works?
Please, help me...
Thank you
Monday, December 18, 2006 7:19 PM - Jeff Chan

Re: Re: XDMCP Connection failed.Try again? While Trying to Connect Solaris

 
Yes! XDMCP connection can be made through port forwarding. But setting up port forwarding rules can be pretty difficult. Try using the SSH solution. Check this out:

/bbs/detail.html?id=xmanager&num=2302

Cheers~

-Jeff