From mg@reji.ru Fri Aug 7 12:15:40 2015 Received: (at submit) by bugs.x2go.org; 7 Aug 2015 10:15:43 +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.8 required=5.0 tests=BAYES_50,SPF_HELO_PASS autolearn=ham version=3.3.2 Received: from trixie.reji.ru (trixie.reji.ru [84.22.98.211]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 3CE835DA86 for ; Fri, 7 Aug 2015 12:15:40 +0200 (CEST) Received: from reji.ru (localhost [IPv6:::1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by trixie.reji.ru (Postfix) with ESMTPSA id 2346B800F4 for ; Fri, 7 Aug 2015 12:15:40 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Aug 2015 15:15:40 +0500 From: Mikhail Gonchar To: submit@bugs.x2go.org Subject: Printer command with spaces does not work Message-ID: <5aecc3b3649530305fb36d04c710c3ba@trixie.reji.ru> X-Sender: mg@reji.ru User-Agent: Roundcube Webmail/1.1.1 Package: x2goclient Version: 4.0.5.0 A custom printer command in x2goclient does not work when it contains spaces. I reproduced this on Debian "jessie" and Windows XP: 1) Open x2goclient settings and set printer command to value with spaces. I set it to "/home/reji/evince and spaces" on Debian (this is a simlink to /usr/bin/evince). 2) Print something in remote session to virtual X2Go printer. As result error message pop ups on the client: "Failed to execute command: /home/reji/evince and spaces /home/reji/.x2go/S-redge-52-1438889300_stDLXDE_dp32/spool/redge-52-1438889300_stDLXDE_dp32_33-redge-cupsjob7726ykoKRCRrXh30G41C.pdf" Printing works if I set a command to "/usr/bin/evince" or "evince".