Subject: X2Go Server fails to start Trinity when it is installed under /opt/trinity/

From: Michael DePaulo <[email-masked]>
Date: Thu, 2 Oct 2014 20:03:02 -0400

package: x2goserver
version: 4.0.1.16
severity: normal

If you install the Trinity Desktop Environment on Ubuntu 12.04 from
the official Trinity project's repo[1], x2goruncommand assumes that
for the "TRINITY" session it needs to run:
/usr/bin/starttrinity
However, the session fails to start because that file exists at this
path instead:
/opt/trinity/bin/startkde

I am about to commit a fix for this. x2goruncommand will check for
/opt/trinity/bin/startkde and run that if it exists. Otherwise, it
will default to running /usr/bin/starttrinity .

[1] https://www.trinitydesktop.org/wiki/bin/view/Documentation/UbuntuBinaryInstallation