[X2Go-Dev] X2Go client to search for server?

Stefan Baur X2Go-ML-1 at baur-itcs.de
Mon Mar 20 11:48:29 CET 2017


Am 16.03.2017 um 18:28 schrieb John Cobo:

> Would it be feasible for the X2Go clients have a new option to scan a
> range of IPs (eg. 192.168.0.1 - 192.168.0.255) for a given port (eg.
> 2432) on which to connect?

I don't think so, and the reason why is in your own, next paragraph:


> Such a feature could solve the generic problem of how to connect for the
> first time to something new on your local network.

As you realized yourself, it is a generic problem, so whatever fix we
would try to come up with would be an ugly kludge.

The real, generic fix would be that you start using
APIPA/avahi/mDNS/Bonjour/Zeroconf or whatever its nom du jour is.

Also, you could set your RasPis to the same host name (assuming there is
only one RasPi per network), and have them announce their name to the
DHCP server.  Most SoHo routers will pick up that name and add it to
their local DNS, so you could use that name to access them.

If all these don't work for you, another option would be a udev rule
that detects USB media, mounts it, and writes a dynamically generated
config file with the Raspi's IP on it. Sync, umount, plug USB media into
PC, run X2GoClient from it (portable mode).

What I would like to see added to X2GoClient at some point is a feature
that works similar to WPAD (proxy autodiscovery) - a standardized name
like x2gobroker, that will be searched as
x2gobroker.anothersubdomain.subdomain.domain.tld,
x2gobroker.subdomain.domain.tld, x2gobroker.domain.tld on the local
network, but that, too, requires DNS.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20170320/1e885fc5/attachment.sig>


More information about the x2go-dev mailing list