[X2Go-Dev] Bug#948: Bug#948: X2Go Client fails to create xinerama.conf if screen coordinates have negative values

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu Sep 24 13:14:18 CEST 2015


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 at minobo ~]$ printf '1 2 3 4\n'
1 2 3 4
[mike at minobo ~]$ printf "1 2 3 4\n"
1 2 3 4
[mike at minobo ~]$ printf "1 -2 3 4\n"
1 -2 3 4
[mike at minobo ~]$ printf "1 2 -3 4\n"
1 2 -3 4
[mike at minobo ~]$ printf "-1 2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike at minobo ~]$ printf "-1 -2 3 4\n"
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike at minobo ~]$ printf '-1 2 3 4\n'
bash: printf: -1: invalid option
printf: usage: printf [-v var] format [arguments]
[mike at 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 at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150924/ee54b4bc/attachment-0001.pgp>


More information about the x2go-dev mailing list