[X2Go-User] Is there a broker that does NOT require root to install?

Stefan Baur X2Go-ML-1 at baur-itcs.de
Sun Apr 26 13:15:10 CEST 2020


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.

<https://code.x2go.org/gitweb?p=x2gobroker.git;a=blob_plain;f=contrib/x2go-mini-sshbroker;h=59798bc191f525830b6c341e5ab0767fc6d97f9c;hb=f663ea3bd4a083a14f480ac5048f4e67e9e8eedc>

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


More information about the x2go-user mailing list