<div dir="ltr"><div><div><div>Hello,<br><br></div></div>The patch you offered tries to solve a bit different problem than mine.<br>My problem is connecting to multiple x2go servers from single client.<br><span id="result_box" class="" lang="en"><span class="">However</span></span> I find your patch very useful for "reversed" situation, described in bug #155<br>
Also replacing perl usage with awk is probably a good thing.<br><br>And thank you for noticing problem with my previous patch.<br></div><div>New patch attached seems to be working fine.<br></div><div><br></div><div>Regards<br>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 2:01 AM, Mike Gabriel <span dir="ltr"><<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thomas, hi Eugene,<br>
ugene<div><div class="h5"><br>
On Mi 05 Jun 2013 06:33:15 CEST Eugene San wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
This subject was already discussed here, but since no solution exists till<br>
now, I've hacked not ideal but practical solution.<br>
<br>
Attached patch should minimize chances of conflicting ports x2goserver is<br>
using.<br>
On the first run, x2gostartagent script randomly selects ports from<br>
specific range (30000-30099) and save them to config file to be used for<br>
the following sessions.<br>
Later one can tune those values in config file<br>
(/etc/x2go/x2goagent.options).<br>
<br>
Regards<br>
<br>
</blockquote>
<br></div></div>
Eugene: the patch your provided via x2go-dev ML won't work (as x2goagent.options cannot be written by the user).<br>
<br>
However, here is another patch that you and Thomas (the submitter of issue #155 in X2Go BTS) may test with your class room setups.<br>
<br>
Patch is attached. Please give feedback. The patch reverts some code introduced in x2goserver 3.1.1.3 (or so).<br>
<br>
Thanks+Greets,<br>
Mike<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
<br>
DAS-NETZWERKTEAM<br>
mike gabriel, herweg 7, 24357 fleckeby<br>
fon: +49 (1520) 1976 148<br>
<br>
GnuPG Key ID 0x25771B31<br>
mail: <a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.<u></u>de</a>, <a href="http://das-netzwerkteam.de" target="_blank">http://das-netzwerkteam.de</a><br>
<br>
freeBusy:<br>
<a href="https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb" target="_blank">https://mail.das-netzwerkteam.<u></u>de/freebusy/m.gabriel%40das-<u></u>netzwerkteam.de.xfb</a><br>
</font></span></blockquote></div><br></div>