X2Go Bug report logs - #270
xinerama.conf sometimes contains bogus

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: Wed, 24 Jul 2013 05:01:32 UTC

Severity: normal

Found in version 4.0.1.0

Full log


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

Received: (at submit) by bugs.x2go.org; 24 Jul 2013 05:00:58 +0000
From mike.gabriel@das-netzwerkteam.de  Wed Jul 24 07:00:58 2013
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)
[Message part 1 (text/plain, inline)]
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
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:18:31 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.