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

Oleksandr Shneyder oleksandr.shneyder at obviously-nice.de
Wed Nov 17 22:36:51 CET 2010


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.
> 
> Is there a communication protocol in X2go that gives the server feedback
> if an offered port is already in use locally on the client? It actually
> is not only a graphics/nxproxy issue, it will also occur when tunneling
> sound or sshfs (only that I do not get that far without a tunnel for nx
> traffic).
> 
> Any help is appreciated...
> 
> Greets,
> Mike
> 
> 
> 

Hello Mike,

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.

regards,
alex
-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere at home

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20101117/20f5c731/attachment.pgp>


More information about the x2go-dev mailing list