[X2Go-Dev] Bug#985: Trinity start command is wrong (at least for Debian and current Trinity version)
Stefan Baur
X2Go-ML-1 at baur-itcs.de
Wed Jan 20 07:01:15 CET 2016
package: x2goserver
http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=x2goserver/bin/x2goruncommand;h=fa62f71029a5d3556ef0f11995cdfce257af86bf;hb=HEAD#l197
202 else
203 cmd="/usr/bin/starttrinity"
204 fi
These lines should be changed like this:
202 else
# This tries Trinity start scripts
# from newest to oldest
if [ -x /opt/trinity/bin/starttde ] ; then
cmd="/opt/trinity/bin/starttde"
elif [ -x /opt/trinity/bin/starttrinity ] ; then
cmd="/opt/trinity/bin/starttrinity"
else
cmd="/usr/bin/starttrinity"
fi
2nn fi
Note #1: This might need changes in x2goclient, too, if the error
message "Unable to execute: starttrinity" is hardcoded there
Note #2: As usual, as a non-coder, I should be kept away from touching
production code. So please review, comment, test, before using this
in a release version.
-Stefan
--
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/20160120/1587dd96/attachment.pgp>
More information about the x2go-dev
mailing list