From mike.gabriel@das-netzwerkteam.de  Wed Jul 24 07:00:58 2013
Received: (at submit) by bugs.x2go.org; 24 Jul 2013 05:00:58 +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.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 1FDDB5DB15
	for <submit@bugs.x2go.org>; Wed, 24 Jul 2013 07:00:58 +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 E62EFB97
	for <submit@bugs.x2go.org>; Wed, 24 Jul 2013 07:00:57 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 7F77F3BA0B
	for <submit@bugs.x2go.org>; Wed, 24 Jul 2013 07:00:57 +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 iTuwn3MoWCAw for <submit@bugs.x2go.org>;
	Wed, 24 Jul 2013 07:00:57 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 555D53BA97
	for <submit@bugs.x2go.org>; Wed, 24 Jul 2013 07:00:57 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 36B093BA0B
	for <submit@bugs.x2go.org>; Wed, 24 Jul 2013 07:00:57 +0200 (CEST)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id BAB113BA97; Wed, 24 Jul 2013 07:00:56 +0200 (CEST)
Received: from p57B4CA0F.dip0.t-ipconnect.de (p57B4CA0F.dip0.t-ipconnect.de
 [87.180.202.15]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 24 Jul 2013 07:00:56 +0200
Message-ID: <20130724070056.47375fx5w6c1x6dk@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Wed, 24 Jul 2013 07:00:56 +0200
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: xinerama.conf sometimes contains bogus
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_5deau9nptk08";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

This message is in MIME format and has been PGP signed.

--=_5deau9nptk08
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Package: x2goclient
Version: 4.0.1.0

Hi Alex,

a bug report on broken xinerama.conf files (negative display  
resolution!!!)... Quoting from IRC...

23:30 < dlmcob> sunweaver: seems somehow the xinerama.conf is getting  
destroyed (sometimes) or not
                 created correctly
23:30 < dlmcob> if I create a "correct" file by hand, and store it in /tmp
23:30 < dlmcob> then I add these lines into x2goruncommand at line 48:
23:30 < dlmcob> cp /tmp/xinerama.conf $NX_XINERAMA_CONF
23:30 < dlmcob> chmod 444 $NX_XINERAMA_CONF
23:30 < dlmcob> i get 100% success rate for xinerama.  otherwise it's  
about 5% of the time it
                 works.
23:31 < dlmcob> HTH
23:31 < dlmcob> BTW, the contents of my /tmp/xinerama.conf is:
23:31 < dlmcob> 0 0 1920 1200
23:31 < dlmcob> 1920 0 1920 1200

[...]

23:57 < dlmcob> ok. further information regarding why xinerama.conf  
gets destroyed. here's whan
                 ONMainWindow::slotConfigXinerama() is executing:
23:58 < dlmcob> export DISPLAY=:103;printf '-2 -645 1920 1200\\n1918  
-645 1920 1200' >
                  
~/.x2go/C-david-103-1374615901_stDmate-session_dp24/xinerama.conf
23:58 < dlmcob> notice that the geometry for the first monitor is -2  
(negative two) -645.  if I
                 run this command, I get an error:
23:58 < dlmcob> printf: usage: printf [-v var] format [arguments]
23:59 < dlmcob> because printf sees -2 as an option.  (besides which  
the -2 is probably bogus)

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

--=_5deau9nptk08
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJR71+IAAoJEJr0azAldxsxFdYP/0RDlPk94H9K8ouUJbynIizy
IPS+/9ONa0eTczwL0KYuGz3/sb0vku+vUaCCu/cSnpBrvQP/qVOl6KdYmuH8H2dL
aaLmKA2oW8pKUSAuiafYIgXp61EokYl7vxKSb4DKW18tFQL+nxUANUV4QIwt4Vz6
QDEJW3Bnz8A2R/jGlN/ToXdweckgDWfQy8ppGMr9CmskRp096uvAaG67iyl0uWwG
qd6/n/C+0gshvuwhzP7G5hM1Rl6QOHT2oajqFH4gdWIH8MJtS2uPmnf0KhLybhC3
QGcvfGey86Dv8z+U3PG3SoY/KLxybFmabdm8CGqfAI5p5r4uGkt0JahtQsP6sM21
0atSW8kFgc1HwwZ5zxEKqN+JrlxHUcZuDOPAdIDTA7B8bpxOupQnW6XJA2lBwzMk
zPss8KDYM/Ow96QLlqdqIWnMYncPjKJBE9EXjMVtNme3ngfMDybTWxTNMPiNf3FE
pNSb0FNMO1XazX3r/7rXaeAoiZOgq6v+BdVHU6A4evyI8iI/AwZgz8RBzcMQzxu2
RKlh8RMWM6KwJtShaHbLbfPeRyddFO/g1x37tSS2yKpeUJE1wcWAciIUQTMel+FZ
hWJpHTEWHWPkwwu7H2BLOrfFSbYjtt5eBZPGJjzmsCBfMtCWy8R66wG3JEc8YJ7u
aFOpG/7VdexHetFoI0pb
=upta
-----END PGP SIGNATURE-----

--=_5deau9nptk08--

