From info@q4os.org  Wed Nov 16 23:14:28 2016
Received: (at submit) by bugs.x2go.org; 16 Nov 2016 22:14:29 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 312463CBB6
	for <submit@bugs.x2go.org>; Wed, 16 Nov 2016 23:14:28 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id lnMWBx7Ehylb for <submit@bugs.x2go.org>;
	Wed, 16 Nov 2016 23:14:21 +0100 (CET)
X-Greylist: delayed 363 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Wed, 16 Nov 2016 23:14:21 CET
Received: from relay.smtp.cz (relay.smtp.cz [81.95.97.115])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 20F743CBB5
	for <submit@bugs.x2go.org>; Wed, 16 Nov 2016 23:14:21 +0100 (CET)
Received: from out.smtp.cz (out2.smtp.cz [81.95.97.93])
	by relay.smtp.cz (Postfix) with ESMTPS id 3B1B716FE35
	for <submit@bugs.x2go.org>; Wed, 16 Nov 2016 23:08:18 +0100 (CET)
Received: from [10.0.0.101] (unknown [94.230.152.3])
	(Authenticated sender: postmaster@q4os.org)
	by out.smtp.cz (Postfix) with ESMTPSA id 777A141882
	for <submit@bugs.x2go.org>; Wed, 16 Nov 2016 23:08:17 +0100 (CET)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.99.2 at clam1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=q4os.org; s=a24;
	t=1479334097; bh=RlJMYC20bddSWqCDM3DCTBKSxot7i7taJTQCZIuwUqc=;
	h=To:From:Subject:Date:From;
	b=oHoije8rbdcUhNCCVmFAdsdKhltGGJrtgrND++fHGeieGi12dl93dUBDajH5Ia9M8
	 sa5peVuIilBPmmExxFbbtzHXkXilV+Wff65Es/SG43FIJMBvP36friM8yo6MUTzqhO
	 tlUBkgqoKmQAqrFWOi3E5X90OcPccmopYMrILd0I=
To: submit@bugs.x2go.org
From: Q4OS Team <info@q4os.org>
Subject: x2goruncommand script gets wrong command from the Linux client
Message-ID: <7b4405f1-5e67-55d0-871b-184d801bbfba@q4os.org>
Date: Wed, 16 Nov 2016 23:08:16 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Icedove/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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

