X2Go Bug report logs - #917
Printer command with spaces does not work

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Mikhail Gonchar <mg@reji.ru>

Date: Fri, 7 Aug 2015 10:20:01 UTC

Severity: normal

Found in version

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#917: Printer command with spaces does not work
Reply-To: Mikhail Gonchar <mg@reji.ru>, 917@bugs.x2go.org
Resent-From: Mikhail Gonchar <mg@reji.ru>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Fri, 07 Aug 2015 10:20:01 +0000
Resent-Message-ID: <handler.917.B.143894254317379@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 917
X-X2Go-PR-Package: x2goclient
Received: via spool by submit@bugs.x2go.org id=B.143894254317379
          (code B); Fri, 07 Aug 2015 10:20:01 +0000
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
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 [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 3CE835DA86
	for <submit@bugs.x2go.org>; 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 <submit@bugs.x2go.org>; Fri,  7 Aug 2015 12:15:40 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
Content-Transfer-Encoding: 7bit
Date: Fri, 07 Aug 2015 15:15:40 +0500
From: Mikhail Gonchar <mg@reji.ru>
To: submit@bugs.x2go.org
Message-ID: <5aecc3b3649530305fb36d04c710c3ba@trixie.reji.ru>
X-Sender: mg@reji.ru
User-Agent: Roundcube Webmail/1.1.1
Package: x2goclient

A custom printer command in x2goclient does not work when it contains 

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 

Printing works if I set a command to "/usr/bin/evince" or "evince".

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Mon May 29 08:53:23 2023; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.