Subject: Trinity start command is wrong (at least for Debian and current Trinity version)

From: Stefan Baur <[email-masked]>
Date: Wed, 20 Jan 2016 07:01:15 +0100

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