<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Liberation Mono">Package: x2goagent<br>
Version: 3.5.0.32<br>
<br>
<br>
As discussed with IONIC, there is a problem when You try to
connect to different servers from Windows at the same time, using
multiple instances of x2go client.<br>
The reason is, that the x2go servers are all using the same
SSH_Port. That should not be a problem from my point of view, so
that behaviour should be further investigated.<br>
<br>
The problem was reported already a very long time ago, but still
exists :
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/x2go-user@lists.berlios.de/msg00547.html">https://www.mail-archive.com/x2go-user@lists.berlios.de/msg00547.html</a><br>
<br>
In the meantime, here a small patch for x2gostartagent script: <br>
That patch uses a different SSH_PORT for each Server, therefore
try to avoid conflicts.<br>
<br>
There are two methods implemented : <br>
<br>
method one, suitable for Class "C" Networks, with no possible
conflicts. The SSH Port is dependent on the last octet of the
servers host adress.<br>
method two, with randomized ports, what may lead to conflicts from
case to case, but can handle networks were servers might have the
same </font><font face="Liberation Mono"><font face="Liberation
Mono">last octet of the host adress.</font><br>
<br>
However, that patch enables to have multiple instances of
x2goclients running on one windows machine, against different
hosts.<br>
<br>
please find attached the IRC conversation log with Ionic, as well
as the patched script for x2gostartagent<br>
<br>
I hove it can be committed, I am getting tired to patch my hosts
on every x2go server update ;-)<br>
<br>
yours sincerely<br>
<br>
Robert Nowotny<br>
Rotek GmbH<br>
<br>
</font>
</body>
</html>