Re: Problems with XDMCP connection - Solved

2004-03-08 Thread Harold L Hunt II
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



Re: Problems with XDMCP connection - Solved

2004-03-08 Thread Alexander Gottwald
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
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Problems with XDMCP connection - Solved

2004-03-08 Thread Anton Hattendorf
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



Re: Problems with XDMCP connection

2004-03-03 Thread Takuma Murakami
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



Re: Problems with XDMCP connection

2004-03-02 Thread Anton Hattendorf
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


Re: Problems with XDMCP connection

2004-03-02 Thread Alexander Gottwald
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
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723
 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004
 http://www.tu-chemnitz.de/linux/tag


Re: Problems with XDMCP connection

2004-03-02 Thread Anton Hattendorf
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



Re: Problems with XDMCP connection

2004-03-02 Thread Alexander Gottwald
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
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723
 Chemnitzer Linux-Tag 2004 - 6. und 7. März 2004
 http://www.tu-chemnitz.de/linux/tag


Problems with XDMCP connection

2004-03-02 Thread Anton Hattendorf
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 -> kdmhostXDMCP   Query
kdmhost -> xfreehostXDMCP   Willing
xfreehost -> kdmhostXDMCP   Request
kdmhost -> xfreehostXDMCP   Accept (with cookie)
xfreehost -> kdmhostXDMCP   Manage
xfreehost -> kdmhostXDMCP   Manage
xfreehost -> kdmhostXDMCP   Manage
kdmhost -> xfreehostTCP SYN
xfreehost -> kdmhostTCP SYN, ACK
kdmhost -> xfreehostTCP ACK
kdmhost -> xfreehostX11 Initial Connection Request (with cookie)
xfreehost -> kdmhostTCP ACK
xfreehost -> kdmhostTCP Replies/events
kdmhost -> xfreehostTCP 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)