tag #218 confirmed thanks
Hi Anders,
On Mi 22 Mai 2013 15:30:29 CEST Anders Bruun Olsen wrote:
Package: x2gobroker Version: 0.0.2.2
I am setting up a loadbalanced cluster of x2go servers with a broker in front. There are thinclients on the LAN accessing the broker/cluster and there will be users logging on from outside. Users on the LAN are served term1.example.lan and term2.example.lan, whereas users from outside get term1.example.com and term2.example.com. So far everything has worked fine, but now I have started testing outside access, which does not work. x2gobroker (with autologin) tells x2goclient to access term1 or term2 - it leaves out the rest of the domain name. This works fine on the LAN, because the machines there have example.lan set as their searchdomain, but machines from outside can't resolve "term1" to "term1.example.com" and need to be given the FQDN. Please note that the FQDNs is specified in the sessionprofiles, but x2goclient still tries to resolve the short version of the name.
A fix for this is not so trivial, as it seems. The ,,wrong'' hostname
is produced by x2golistsession on the server that the x2gobroker-agent
gets executed on.
Obviously, your external clients call the X2Go Session Broker. The
session broker knows a list of possible hosts for sending the
select_session query to. The server that gets asked responds with a
hostname from the X2Go session DB, that is not necessarily what you
configured in X2Go Session Broker's x2gobroker-sessionprofiles.conf.
So, what is needed is a backwards mapping between the result that gets
returned by x2gobroker-agent (i.e. the returned server name /
hostname) back to the FQDN hostnames configured in X2Go Session
Broker. The mapping is not bijective here, it is more about guessing
and shooting blindfolded.
/me scratches his head on the best approach for this...
Mike
--
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...