[X2go-dev] Python X2go: nxproxy problem with multiple sessions to different servers

Mike Gabriel m.gabriel at das-netzwerkteam.de
Sun Nov 21 13:45:47 CET 2010


Hi Alex,

On Mi 17 Nov 2010 22:36:51 CET Oleksandr Shneyder wrote:

> Am 16.11.2010 19:46, schrieb Mike Gabriel:
>> Hi Alex, hi Heinz,
>>
>> i have a problem that occured when coding Python X2go...
>>
>> I have two servers. None of them has any X2go users connect to them.
>>
>> When I connect to server 1 it offers SSH display tunnel NX-Proxy port
>> 30001.
>>
>> When I connect to server 2 it also offers SSH display tunnel NX-Proxy
>> port 30001.
>>
>> However, I cannot start two nxproxy instances listening on the same SSH
>> tunnel port.
>>

> You can try to connect with specified port, just before you opening a
> tunnel or starting the service that should listen to that port. If the
> connection failed, port is unused and you can use it.
>

I have just included a fragment of code into Python X2go that renders  
this functionality and it works smoothly!!!

Thanks a lot,
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

mail: m.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb



More information about the x2go-dev mailing list