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 4.0.5.0

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#917; Package x2goclient. (Fri, 07 Aug 2015 10:20:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mikhail Gonchar <mg@reji.ru>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 07 Aug 2015 10:20:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Mikhail Gonchar <mg@reji.ru>
To: submit@bugs.x2go.org
Subject: Printer command with spaces does not work
Date: Fri, 07 Aug 2015 15:15:40 +0500
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".


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Dec 22 04:56:02 2024; 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.