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.
Oleksandr Shneyder Dipl. Informatik X2go Core Developer Team
email: oleksandr.shneyder@obviously-nice.de web: www.obviously-nice.de
--> X2go - everywhere@home