public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Problems with XDMCP connection
@ 2004-03-02  9:13 Anton Hattendorf
  2004-03-02  9:51 ` Alexander Gottwald
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Anton Hattendorf @ 2004-03-02  9:13 UTC (permalink / raw)
  To: cygwin-xfree

Hallo

I've got some Problems with Cygwin using XDMCP. I'm try to connect to an kdm. 
After caling XWin.exe -query 192.168.220.2 just an X appears and disappears 
some minutes later. 
On the kdm-host I found the follwing in kdm.log:
------------------
Xlib: connection to "10.75.7.71:0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
------------------
This message appears five times for every connecting-attempt.

I have tried useing the -from switch, but it didn't change anything. 

I tried to connect form the same host with XWin32 and from an Linux Box with 
XFree86 and both worked.

After that I sniffed a bit arround with ethereal and found something strange:
a working connection looks like this:
xfreehost -> kdmhost	XDMCP	Query
kdmhost -> xfreehost	XDMCP	Willing
xfreehost -> kdmhost	XDMCP	Request
kdmhost -> xfreehost	XDMCP	Accept (with cookie)
xfreehost -> kdmhost	XDMCP	Manage
xfreehost -> kdmhost	XDMCP	Manage
xfreehost -> kdmhost	XDMCP	Manage
kdmhost -> xfreehost	TCP	SYN
xfreehost -> kdmhost	TCP	SYN, ACK
kdmhost -> xfreehost	TCP	ACK
kdmhost -> xfreehost	X11	Initial Connection Request (with cookie)
xfreehost -> kdmhost	TCP	ACK
xfreehost -> kdmhost	TCP	Replies/events
kdmhost -> xfreehost	TCP	ACK
...
...
...

A connection useing Cygwin looks like this:
cygwinhost -> kdmhost	XDMCP	Query
cygwinhost -> kdmhost	XDMCP	Query
cygwinhost -> kdmhost	XDMCP	Query
kdmhost -> cygwinhost	XDMCP	Willing
cygwinhost -> kdmhost	XDMCP	Request
cygwinhost -> kdmhost	XDMCP	Request
cygwinhost -> kdmhost	XDMCP	Request
kdmhost -> cygwinhost	XDMCP	Willing
cygwinhost -> kdmhost	XDMCP	Request
cygwinhost -> kdmhost	XDMCP	Request
kdmhost -> cygwinhost	XDMCP	Willing
kdmhost -> cygwinhost	XDMCP	Accept (with cookie)
kdmhost -> cygwinhost	XDMCP	Accept (with another cookie)
kdmhost -> cygwinhost	XDMCP	Accept (with another cookie)
cygwinhost -> kdmhost	XDMCP	Manage
kdmhost -> cygwinhost	XDMCP	Accept (with another cookie)
kdmhost -> cygwinhost	XDMCP	Accept (with another cookie)
cygwinhost -> kdmhost	XDMCP	Manage
cygwinhost -> kdmhost	XDMCP	Manage
---- Theses two messages sometimes apper later (beetwen the TCP)
cygwinhost -> kdmhost	XDMCP	Manage
cygwinhost -> kdmhost	XDMCP	Manage
cygwinhost -> kdmhost	XDMCP	Manage
---- This block apears five times 
kdmhost -> cygwinhost	TCP	SYN
cygwinhost -> kdmhost	TCP	SYN, ACK
kdmhost -> cygwinhost	TCP	ACK
kdmhost -> cygwinhost	X11	Initial Connection Request (with last cookie)
cygwinhost -> kdmhost	TCP	Replies/events ("Invalid MIT-MAGIC-COOKIE-1 key")
cygwinhost -> kdmhost	TCP	FIN, ACK
kdmhost -> cygwinhost	TCP	ACK
kdmhost -> cygwinhost	TCP	FIN, ACK
cygwinhost -> kdmhost	TCP	ACK
---- the last message
kdmhost -> cygwinhost	XDMCP	Failed


Can someone explain, why cygwin sends three Querys, and five requests 
messages?

Has someone an idea?

Thanks
Anton

P.S.: If someone ist interested in the Ethereal log Files - just ask (about 10 
kB)


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection
  2004-03-02  9:13 Problems with XDMCP connection Anton Hattendorf
@ 2004-03-02  9:51 ` Alexander Gottwald
  2004-03-02 10:40   ` Anton Hattendorf
  2004-03-04  6:36 ` Takuma Murakami
  2004-03-08 14:14 ` Problems with XDMCP connection - Solved Anton Hattendorf
  2 siblings, 1 reply; 9+ messages in thread
From: Alexander Gottwald @ 2004-03-02  9:51 UTC (permalink / raw)
  To: cygwin-xfree

On Tue, 2 Mar 2004, Anton Hattendorf wrote:

> Hallo
> 
> I've got some Problems with Cygwin using XDMCP. I'm try to connect to an kdm. 
> After caling XWin.exe -query 192.168.220.2 just an X appears and disappears 
> some minutes later. 
> On the kdm-host I found the follwing in kdm.log:
> ------------------
> Xlib: connection to "10.75.7.71:0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> ------------------

is 10.75.7.71 the correct ip address of the cygwin host?

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723
 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004
 http://www.tu-chemnitz.de/linux/tag


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection
  2004-03-02  9:51 ` Alexander Gottwald
@ 2004-03-02 10:40   ` Anton Hattendorf
  2004-03-02 10:48     ` Alexander Gottwald
  0 siblings, 1 reply; 9+ messages in thread
From: Anton Hattendorf @ 2004-03-02 10:40 UTC (permalink / raw)
  To: cygwin-xfree

On Tuesday 02 March 2004 10:51, Alexander Gottwald wrote:
> On Tue, 2 Mar 2004, Anton Hattendorf wrote:
> > Hallo
> >
> > I've got some Problems with Cygwin using XDMCP. I'm try to connect to an
> > kdm. After caling XWin.exe -query 192.168.220.2 just an X appears and
> > disappears some minutes later.
> > On the kdm-host I found the follwing in kdm.log:
> > ------------------
> > Xlib: connection to "10.75.7.71:0.0" refused by server
> > Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> > ------------------
>
> is 10.75.7.71 the correct ip address of the cygwin host?
Yes, there is an Router betwen them.
It's not possible to connect the two hosts directly.

bye bye
 Anton


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection
  2004-03-02 10:40   ` Anton Hattendorf
@ 2004-03-02 10:48     ` Alexander Gottwald
  2004-03-02 12:22       ` Anton Hattendorf
  0 siblings, 1 reply; 9+ messages in thread
From: Alexander Gottwald @ 2004-03-02 10:48 UTC (permalink / raw)
  To: cygwin-xfree

On Tue, 2 Mar 2004, Anton Hattendorf wrote:

> On Tuesday 02 March 2004 10:51, Alexander Gottwald wrote:
> > On Tue, 2 Mar 2004, Anton Hattendorf wrote:
> > > Hallo
> > >
> > > I've got some Problems with Cygwin using XDMCP. I'm try to connect to an
> > > kdm. After caling XWin.exe -query 192.168.220.2 just an X appears and
> > > disappears some minutes later.
> > > On the kdm-host I found the follwing in kdm.log:
> > > ------------------
> > > Xlib: connection to "10.75.7.71:0.0" refused by server
> > > Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> > > ------------------
> >
> > is 10.75.7.71 the correct ip address of the cygwin host?
> Yes, there is an Router betwen them.
> It's not possible to connect the two hosts directly.

have you already tried the -from option? Are there multiple network
interfaces attached to the host (even dialup or wlan interfaces)

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723
 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004
 http://www.tu-chemnitz.de/linux/tag


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection
  2004-03-02 10:48     ` Alexander Gottwald
@ 2004-03-02 12:22       ` Anton Hattendorf
  0 siblings, 0 replies; 9+ messages in thread
From: Anton Hattendorf @ 2004-03-02 12:22 UTC (permalink / raw)
  To: cygwin-xfree

On Tuesday 02 March 2004 11:48, Alexander Gottwald wrote:
> On Tue, 2 Mar 2004, Anton Hattendorf wrote:
> > On Tuesday 02 March 2004 10:51, Alexander Gottwald wrote:
> > > On Tue, 2 Mar 2004, Anton Hattendorf wrote:
> > > > Hallo
> > > >
> > > > I've got some Problems with Cygwin using XDMCP. I'm try to connect to
> > > > an kdm. After caling XWin.exe -query 192.168.220.2 just an X appears
> > > > and disappears some minutes later.
> > > > On the kdm-host I found the follwing in kdm.log:
> > > > ------------------
> > > > Xlib: connection to "10.75.7.71:0.0" refused by server
> > > > Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> > > > ------------------
> > >
> > > is 10.75.7.71 the correct ip address of the cygwin host?
> >
> > Yes, there is an Router betwen them.
> > It's not possible to connect the two hosts directly.
>
> have you already tried the -from option? Are there multiple network
> interfaces attached to the host (even dialup or wlan interfaces)
Yes I have, but it hasn't changed anything

There can't be an problem with the addressing, because kdm opens an TCP 
connection and gets an ACK from the cygwinhost


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection
  2004-03-02  9:13 Problems with XDMCP connection Anton Hattendorf
  2004-03-02  9:51 ` Alexander Gottwald
@ 2004-03-04  6:36 ` Takuma Murakami
  2004-03-08 14:14 ` Problems with XDMCP connection - Solved Anton Hattendorf
  2 siblings, 0 replies; 9+ messages in thread
From: Takuma Murakami @ 2004-03-04  6:36 UTC (permalink / raw)
  To: cygwin-xfree

Anton,

I'm not sure to fix your problem but could you try these?
1. Update XFree86-xserv.
2. Add -clipboard to your XWin invocation.
3. If the problem remains, send in /tmp/XWin.log .

Hope this helps.

Takuma Murakami


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection - Solved
  2004-03-02  9:13 Problems with XDMCP connection Anton Hattendorf
  2004-03-02  9:51 ` Alexander Gottwald
  2004-03-04  6:36 ` Takuma Murakami
@ 2004-03-08 14:14 ` Anton Hattendorf
  2004-03-08 14:31   ` Alexander Gottwald
  2004-03-08 19:19   ` Harold L Hunt II
  2 siblings, 2 replies; 9+ messages in thread
From: Anton Hattendorf @ 2004-03-08 14:14 UTC (permalink / raw)
  To: cygwin-xfree

On Tuesday 02 March 2004 10:13, Anton Hattendorf wrote:
> Can someone explain, why cygwin sends three Querys, and five requests
> messages?
>
> Has someone an idea?
Hallo

I found it!

Between the Server and the client was a Bridge wich seemd to have Problems 
with UDP-Packages. Some Packages took verry long (about 10 Sek.) to pass the 
Bridge. Because of the delay the XDMCP client sends the Packages a second an 
a thrid time...

After replacing the bridge everything worked fine

Bye
Anton


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection - Solved
  2004-03-08 14:14 ` Problems with XDMCP connection - Solved Anton Hattendorf
@ 2004-03-08 14:31   ` Alexander Gottwald
  2004-03-08 19:19   ` Harold L Hunt II
  1 sibling, 0 replies; 9+ messages in thread
From: Alexander Gottwald @ 2004-03-08 14:31 UTC (permalink / raw)
  To: cygwin-xfree

On Mon, 8 Mar 2004, Anton Hattendorf wrote:

> On Tuesday 02 March 2004 10:13, Anton Hattendorf wrote:
> > Can someone explain, why cygwin sends three Querys, and five requests
> > messages?
> >
> > Has someone an idea?
> Hallo
> 
> I found it!
> 
> Between the Server and the client was a Bridge wich seemd to have Problems 
> with UDP-Packages. Some Packages took verry long (about 10 Sek.) to pass the 
> Bridge. Because of the delay the XDMCP client sends the Packages a second an 
> a thrid time...
> 
> After replacing the bridge everything worked fine

Good to know.

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problems with XDMCP connection - Solved
  2004-03-08 14:14 ` Problems with XDMCP connection - Solved Anton Hattendorf
  2004-03-08 14:31   ` Alexander Gottwald
@ 2004-03-08 19:19   ` Harold L Hunt II
  1 sibling, 0 replies; 9+ messages in thread
From: Harold L Hunt II @ 2004-03-08 19:19 UTC (permalink / raw)
  To: cygwin-xfree

Weird.

Anton Hattendorf wrote:

> On Tuesday 02 March 2004 10:13, Anton Hattendorf wrote:
> 
>>Can someone explain, why cygwin sends three Querys, and five requests
>>messages?
>>
>>Has someone an idea?
> 
> Hallo
> 
> I found it!
> 
> Between the Server and the client was a Bridge wich seemd to have Problems 
> with UDP-Packages. Some Packages took verry long (about 10 Sek.) to pass the 
> Bridge. Because of the delay the XDMCP client sends the Packages a second an 
> a thrid time...
> 
> After replacing the bridge everything worked fine
> 
> Bye
> Anton
> 
> 


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-03-08 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-02  9:13 Problems with XDMCP connection Anton Hattendorf
2004-03-02  9:51 ` Alexander Gottwald
2004-03-02 10:40   ` Anton Hattendorf
2004-03-02 10:48     ` Alexander Gottwald
2004-03-02 12:22       ` Anton Hattendorf
2004-03-04  6:36 ` Takuma Murakami
2004-03-08 14:14 ` Problems with XDMCP connection - Solved Anton Hattendorf
2004-03-08 14:31   ` Alexander Gottwald
2004-03-08 19:19   ` Harold L Hunt II

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).