Subject: x2goruncommand script gets wrong command from the Linux client

From: Q4OS Team <[email-masked]>
Date: Wed, 16 Nov 2016 23:08:16 +0100

Package: x2goclient
Version: 4.0.5 - Debian Jessie

Tested on Debian Jessie x2goclient and Trinity desktop. If I set desktop 
session type 'TRINITY' on the client, the client sends 'starttrinity' to 
the server's 'x2goruncommand' script. But the proper command to send 
should be 'TRINITY'.
It results in error to run the session: 'command not found 
starttrinity', as the script expect 'TRINITY' command instead. After a 
short investigation I have find out, that the problem lies in the 
'onmainwindow.cpp' line 6222 'command="starttrinity";'

Thanks, Rudi
Q4OS Team