-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 06.12.2014 um 23:56 schrieb Mike Gabriel:
Then the X2Go Client should test if that X2Go Server address works (via a simple ping6/ping command, machines should always be pingable!!!)
Chiming in here: Even if they aren't pingable - Port 22 (or whichever you've set in the config as SSH port to be used) must be accepting connections. You can test that on Linux with
nc -z ip.goes.he.re port_goes_here && echo "is reachable"
... and I'm sure there are ways to do that inside the client code, too. Check if you can get a TCP handshake going within a set time frame (1 second? 2 seconds? 5 seconds?), then disconnect and proceed depending on the result.
Actually ... simply lowering the timeout value for the currently existing code that handles the connection, when called in broker client mode, might already work.
BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32)
iQEcBAEBAgAGBQJUg46CAAoJEG7d9BjNvlEZAhIIAJA21I9lvk3hY6R3eAiCO2MG YSNlsUy/ShyhwB37UCNyCLOtEJ9j14xS73UNjbTiRkIFRE12kdtS8vyAPAdZJYqi 2+vbiVjg+TZ31rvk7RrkPyEepJ3+0UfRkfFPDm07sTP47DiBx+zYOyie2qVdrw1U GXJtQrylZRlzhVUi7rbAmNSp1HYaQ+B5yRX1ApmvNrZ+1+GZFybyZO2+eDM6ClHI QBmCePp5DPfN5bE9d+GvxWArkWQe5sgNT1USz7r64F5DOgB09M8f6vkuW3ygq4cW 8dDBhPnJv4PKs7IxLNnM+K1OnPopcKs1/EmkD5nbcNCvGSRW93nV4ic6RoZSD7g= =8x/F -----END PGP SIGNATURE-----