X2Go Bug report logs - #48
heuler x2gothinclient multihead support breaks singlehead mode

version graph

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

Reported by: Stefan Baur <newsgroups.mail2@stefanbaur.de>

Date: Fri, 12 Oct 2012 23:03:02 UTC

Severity: important

Tags: pending

Found in version 1.0.99.1

Fixed in version 1.1.0.0

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

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: git-admin@x2go.org
Subject: Bug#48: heuler x2gothinclient multihead support breaks singlehead mode
Reply-To: Stefan Baur <newsgroups.mail2@stefanbaur.de>, 48@bugs.x2go.org
Resent-From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Fri, 12 Oct 2012 23:18:02 +0000
Resent-Message-ID: <handler.48.B.135008339026288@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 48
X-X2Go-PR-Package: x2gothinclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.135008339026288
          (code B); Fri, 12 Oct 2012 23:18:02 +0000
Received: (at submit) by bugs.x2go.org; 12 Oct 2012 23:09:50 +0000
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171])
	by ymir (Postfix) with ESMTP id 7BC505DB11;
	Sat, 13 Oct 2012 01:09:50 +0200 (CEST)
Received: from [192.168.2.3] (dslb-188-099-192-139.pools.arcor-ip.net [188.99.192.139])
	by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis)
	id 0LqYLt-1TrlOR0E5Z-00dhwD; Sat, 13 Oct 2012 01:09:50 +0200
Message-ID: <5078A349.6040008@stefanbaur.de>
Date: Sat, 13 Oct 2012 01:10:01 +0200
From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Stefan Baur <newsgroups.mail2@stefanbaur.de>, 48@bugs.x2go.org, 
 x2go-dev@lists.berlios.de
CC: submit@bugs.x2go.org
References: <50789EB5.6020003@stefanbaur.de>
In-Reply-To: <50789EB5.6020003@stefanbaur.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:Vac6VP0EnsONrRXmCvg1+NABK3/AJPu1XYfjYXJfNOz
 eVd2FYYOOrvXncCRyJHGMdTu2qp/tHVT8/HVvAH9LpWsg0PTk+
 gkyofMwBOkICOcrgWfjvY4jJmUi3LwKd9Xbs6yS8JvdlKvXqEq
 33mUzHEn5c9oOIJOB9oVRxZgt5hzKixl5bj+LE2TegWbvRcy64
 zCBF7XYu9iGWv/fx1bD2IPRuWd6ilwpEw19Ueyfwrk0Sj2Lxb2
 vkjoQSHNg5N3DiLqGIEPjDH673+Pqjlf912zTBzH4jkwNG8fm7
 YFKx1X6eZ8979EgJJ0dwD/vnyiNxxjYT2l2qGScsdEuflBeHrP
 9TOrPg/7u6RBaNpXigbwazaF1MpabJ0HH7+PAzlfP
/me wrote:

> So, two suggestions:
> 1) STDERR from xrandr  should go to /dev/null or to a log
> file/syslog, so
> -foreach (`DISPLAY=:0 LANG=C xrandr | grep ' connected ' | cut -d ' ' 
> -f1`)
> +foreach (`DISPLAY=:0 LANG=C xrandr 2>/dev/null | grep ' connected ' |
> cut -d ' ' -f1`)

> 2) A simple fix could be
> if (1 < `DISPLAY=:0 LANG=C xrandr | grep ' connected ' | wc -l`)
> {
>     foreach (`DISPLAY=:0 LANG=C xrandr | grep ' connected ' | cut -d '
> ' -f1`)
>     {
>     ...
>     }
> }
> I'm sure there might be a more elegant solution that works within the
> foreach loop, but "Hanc marginis exiguitas non caperet."

And indeed there is:
1) seems to be enough of a fix, so 2) isn't necessary any more.

-Stefan

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Nov 23 12:30:27 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.