Hi folks,
While trying to get pyhoca-cli to work, I noticed that x2goversion on the server was printing out the version numbers without the leading component names. E.g.,
: 4.1.0.3 : 4.1.0.3 : 4.1.0.3 : 4.1.0.3 : 4.1.0.3 : 3.5.99.23 : 4.1.0.3
instead of:
x2goserver: 4.1.0.3 x2goserver-common: 4.1.0.3 x2goserver-extensions: 4.1.0.3 x2goserver-fmbindings: 4.1.0.3 x2goserver-printing: 4.1.0.3 x2goserver-x2goagent: 3.5.99.23 x2goserver-xsession: 4.1.0.3
The problem was that my X2GO_VERSIONS_BASEPATH had a ".." in it, which caused the following line in x2goversion to fail:
X2GO_COMPONENT="$(echo "${compfile}" | cut -d '.' -f '2')"
A fix is to replace the line with:
X2GO_COMPONENT=${compfile#*VERSION.}
Finally, to have a working pyhoca-cli, you need to use the version from 11 March 2020 or later https://code.x2go.org/gitweb?p=pyhoca-cli.git;a=tree
Regards, Michael