Am 26.04.20 um 10:57 schrieb Dr Agile:
Is there a precompiled static binary, or a python / php script I can use with apache?
The question is what you have in mind with your broker. If you need to distribute load between multiple X2GoServer instances, then you will need a central postgres (or MySQL) instance that all X2GoServers can talk to, and you will need to share home directories among them, too.
That doesn't sound feasible on a shared host where you don't even have root permissions.
If all you want to do is deploy a central configuration for one single X2GoServer, and all your users have SSH access on that server, then you might want to use the SSH-(rather than HTTP)-based Minibroker that was just committed to the X2Go Repo. It's still lacking a manpage, and thus, not packaged yet.
While there's no package for this yet, you should save it as /usr/local/bin/x2go-mini-sshbroker and chmod 755 it.
The broker URL would be --broker-url=ssh://yoursshusername@yourservers.dns.or.ip:/usr/local/bin/x2go-mini-sshbroker
And if you're using an SSH agent, you could add --broker-autologin to that.
I do wonder, though - if you don't have root, how did you manage to get X2GoServer installed?
Kind Regards, Stefan Baur
-- 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