Re: [X2Go-User] Can x2go session be initiated from a server to listening client?
Am 07.04.20 um 21:16 schrieb Mike Gabriel: > On Mo 06 Apr 2020 19:19:58 CEST, Andrew Munn wrote: > >> I'd like to initiate an x2go session from a server behind a firewall to a >> listening client with port 22 open. How can that be done? thanks! > > Run "ssh -R 12345:localhost:22 user@client" on the server (see man page > of ssh client for correct usage of -R option) and open up a reverse > tunnel from some port (e.g. 12345) on the client to port 22 on the > server (to be more precise, localhost:22). > > Then configure X2Go Client on the client to connect to "Host: localhost" > and "Port: 12345" and you have your X2Go session ready to roll. That's not what he asked for. He wants a listening client, like vncclient in "-listen" mode, and wants the server to initiate the connection, without any manual interaction on the client side. The only way to approximate that behavior is starting x2goclient over the server-initiated ssh connection, and passing the required parameters for an autostarted session - see my more detailed reply to him. -Stefan -- 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 signature.asc Description: OpenPGP digital signature ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can x2go session be initiated from a server to listening client?
On Mo 06 Apr 2020 19:19:58 CEST, Andrew Munn wrote: I'd like to initiate an x2go session from a server behind a firewall to a listening client with port 22 open. How can that be done? thanks! Run "ssh -R 12345:localhost:22 user@client" on the server (see man page of ssh client for correct usage of -R option) and open up a reverse tunnel from some port (e.g. 12345) on the client to port 22 on the server (to be more precise, localhost:22). Then configure X2Go Client on the client to connect to "Host: localhost" and "Port: 12345" and you have your X2Go session ready to roll. Mike -- DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de pgpJaYaPQ8mG1.pgp Description: Digitale PGP-Signatur ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can x2go session be initiated from a server to listening client?
Am 06.04.20 um 19:19 schrieb Andrew Munn: > I'd like to initiate an x2go session from a server behind a firewall to a > listening client with port 22 open. How can that be done? thanks! There's no way to do that automatically. You could ssh in to the client and start x2goclient there, and, given a session profile that is configured for autologon, you could pass that session profile, but it would require that the user account you're sshing in with has permissions to access the local X display, and you'd need to set the DISPLAY variable accordingly. Also, for this trick to work, you'd have to set up an SSH tunnel pointing back at your server. Pretty hairy, if you ask me. What's the point of doing this? -Stefan -- 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 ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can x2go session be initiated from a server to listening client?
Maybe do some kind of SSH tunnel first? — Johannes Töger Associate Senior Lecturer Cardiac MR Group Department of Clinical Sciences Lund, Clinical Physiology Lund University, Sweden -Original Message- From: x2go-user On Behalf Of Ulrich Sibiller Sent: Monday, April 6, 2020 19:45 To: Andrew Munn Cc: x2go users Subject: Re: [X2Go-User] Can x2go session be initiated from a server to listening client? To my knowledge this is not possible with x2go. But I am pretty sure is possible by using the bare nx libs (nxagent/nxproxy. But you have to setup everything by hand then. Uli On Mon, Apr 6, 2020 at 7:20 PM Andrew Munn wrote: > > I'd like to initiate an x2go session from a server behind a firewall to a > listening client with port 22 open. How can that be done? thanks! > ___ > x2go-user mailing list > x2go-user@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Can x2go session be initiated from a server to listening client?
To my knowledge this is not possible with x2go. But I am pretty sure is possible by using the bare nx libs (nxagent/nxproxy. But you have to setup everything by hand then. Uli On Mon, Apr 6, 2020 at 7:20 PM Andrew Munn wrote: > > I'd like to initiate an x2go session from a server behind a firewall to a > listening client with port 22 open. How can that be done? thanks! > ___ > x2go-user mailing list > x2go-user@lists.x2go.org > https://lists.x2go.org/listinfo/x2go-user ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] Can x2go session be initiated from a server to listening client?
I'd like to initiate an x2go session from a server behind a firewall to a listening client with port 22 open. How can that be done? thanks! ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user