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
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
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
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@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...