X2Go Bug report logs - #948
X2Go Client fails to create xinerama.conf if screen coordinates have negative values

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Thu, 24 Sep 2015 10:15:01 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.0

Fixed in version 4.0.5.1

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#948: [X2Go-Dev] Bug#948: X2Go Client fails to create xinerama.conf if screen coordinates have negative values
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 948@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 24 Sep 2015 11:15:01 +0000
Resent-Message-ID: <handler.948.B948.144309326021748@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 948
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 948-submit@bugs.x2go.org id=B948.144309326021748
          (code B ref 948); Thu, 24 Sep 2015 11:15:01 +0000
Received: (at 948) by bugs.x2go.org; 24 Sep 2015 11:14:20 +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=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 5C1CF5DA92
	for <948@bugs.x2go.org>; Thu, 24 Sep 2015 13:14:19 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id ECF5DBB0;
	Thu, 24 Sep 2015 13:14:18 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id B42203BBB2;
	Thu, 24 Sep 2015 13:14:18 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WHaVZ+p5Pfun; Thu, 24 Sep 2015 13:14:18 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 6946B3BA3C;
	Thu, 24 Sep 2015 13:14:18 +0200 (CEST)
Received: from 134.245.98.146 ([134.245.98.146]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTP; Thu, 24 Sep 2015 11:14:18 +0000
Date: Thu, 24 Sep 2015 11:14:18 +0000
Message-ID: <20150924111418.Horde.iI4ccCLwn7H4JNRGpnXg6A9@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 948@bugs.x2go.org
In-Reply-To: <20150924101335.Horde.v8dFaU458BCTjGSYqCTl7g1@mail.das-netzwerkteam.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.98.146
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_febxXf7n5OJKNqHzmFHWog1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
On  Do 24 Sep 2015 12:13:35 CEST, Mike Gabriel wrote:

> x2go-DEBUG-../src/sshmasterconnection.cpp:1511> Executing remote:  
> "bash -c 'echo "X2GODATABEGIN:e8c82b86-ae92-4b9b-b5ca-2384cde8ed41";  
> export PATH="/usr/local/bin:/usr/bin:/bin"; export  
> DISPLAY=:50;printf '\''-959 -599 1920 1200\n961 -599 1920 1200'\'' >

Little shell experiment:

"""
[mike@minobo ~]$ printf '1 2 3 4\n'
1 2 3 4
[mike@minobo ~]$ printf "1 2 3 4\n"
1 2 3 4
[mike@minobo ~]$ printf "1 -2 3 4\n"
1 -2 3 4
[mike@minobo ~]$ printf "1 2 -3 4\n"
1 2 -3 4
[mike@minobo ~]$ printf "-1 2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf "-1 -2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf '-1 2 3 4\n'
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike@minobo ~]$ printf ' -1 2 3 4\n'
 -1 2 3 4
"""

Obviously, the printf command is "buggy" somehow, because it should  
not interpret the "-1" in

  printf "-1 2 3 4\n"

as command line parameter.

I will think about filing a bug against Debian's coreutils package.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Sep 27 07:23:01 2020; 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.