[FreeNX-kNX] Sanity check...
Fabian Franz
FabianFranz at gmx.de
Sun Apr 24 23:06:22 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Sonntag, 24. April 2005 20:47 schrieb Ed Warnicke:
> On Sunday 24 April 2005 10:14 am, Fabian Franz wrote:
> > Am Samstag, 23. April 2005 09:19 schrieb Ed Warnicke:
> > > Info: Connection with remote proxy established.
> > > Error: Parse error in remote options string 'NX> '."
> >
> > I think I found the problem:
> >
> > The echo "Bye"; echo "NX> 999 Bye" are sent to stdout instead of stderr.
>
> I am completely lost as to why this matters... could you explain?
Ok, did you take a look at the patch?
Anyway:
nxclient sends "bye"
nxclient switches its stdio to the nxproxy
nxserver send "Bye" # to confirm the bye
nxserver sends "NX> 999 Bye" # to confirm the bye
- -> Kaboom, local nxproxy says "Cannot parse remote options string NX>"
nxserver opens up netcat, but it won't have a stdin anymore as the connection
was already closed by the remote proxy.
Fix:
nxserver send "Bye" to stderr # to confirm the bye
the "Bye" does not go to nxproxy, but to nxclient like it should.
This of course _is_ a race condition and needs to be fixed anyway.
Could you test the patch if this solves your problems?
cu
Fabian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCbCZxI0lSH7CXz7MRAntSAJ9cMt88ib8GTZ5UfOJVoszfY3LPfACdHFxS
TbQL6nSTEplbUCMcsRYOlDY=
=btu2
-----END PGP SIGNATURE-----
More information about the FreeNX-kNX
mailing list