From unknown Tue Apr 07 15:06:08 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#48 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:x2gothinclient) has been marked as closed)
Message-ID: <handler.48.c.137427140911858.notifdone@bugs.x2go.org>
References: <20130720000319.628836nwa0ha6t9j@mail.das-netzwerkteam.de>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 48
X-X2go-PR-Package: x2gothinclient
X-X2go-PR-Source: x2gothinclient
Date: Fri, 19 Jul 2013 22:03:33 +0000
Content-Type: multipart/mixed; boundary="----------=_1374271413-11869-0"

This is a multi-part message in MIME format...

------------=_1374271413-11869-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2gothinclient package:

#48: heuler x2gothinclient multihead support breaks singlehead mode

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1374271413-11869-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 19 Jul 2013 22:03:29 +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=unavailable version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id D1A435DB0A;
	Sat, 20 Jul 2013 00:03:20 +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 9E248DC9;
	Sat, 20 Jul 2013 00:03:20 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8E85F3BBB0;
	Sat, 20 Jul 2013 00:03:20 +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 mMQbYuHcDEbK; Sat, 20 Jul 2013 00:03:20 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6EE843BBFD;
	Sat, 20 Jul 2013 00:03:20 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 422803BBB0;
	Sat, 20 Jul 2013 00:03:20 +0200 (CEST)
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 9F55B3BBFD; Sat, 20 Jul 2013 00:03:19 +0200 (CEST)
Received: from m-047.informatik.uni-kiel.de (m-047.informatik.uni-kiel.de
 [134.245.254.47]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Sat, 20 Jul 2013 00:03:19 +0200
Message-ID: <20130720000319.628836nwa0ha6t9j@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Sat, 20 Jul 2013 00:03:19 +0200
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 48-submitter@bugs.x2go.org, 48@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: X2Go issue (in src:x2gothinclient) has been marked as closed
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_33xugmfm4omf";
 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.

--=_33xugmfm4omf
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

close #48
thanks

Hello,

we are very hopeful that X2Go issue #48 reported by you
has been resolved in the new release (1.1.0.0) of the
X2Go source project =C2=BBsrc:x2gothinclient=C2=AB.

You can view the complete changelog entry of src:x2gothinclient (1.1.0.0)
below, and you can use the following link to view all the code changes
between this and the last release of src:x2gothinclient.

      =20
http://code.x2go.org/gitweb?p=3Dx2gothinclient.git;a=3Dcommitdiff;h=3D82d0f1=
a2a4c45b40e76ce98d2b8ad8b28e7aad56;hp=3D111c8e9da59660fb68473111fb0a32c7106a=
1170

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:x2gothinclient.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:x2gothinclient
Version: 1.1.0.0
Status: RELEASE
Date: Fri, 19 Jul 2013 23:31:10 +0200
Fixes: 47 48 66 95 115 251
Changes:
  x2gothinclient (1.1.0.0) RELEASED; urgency=3Dlow
  .
    [ Mike Gabriel ]
    * New upstream version (1.1.0.0):
      - When X2Go TCE has plymouth installed, make sure pressing the
        halt button does not change to the wrong tty.
      - Truncate echo output lines to less than 80 chars.
      - Use sed to patch initramfs configuration (rather than a patch
        that fails on wheezy). The change is needed for squeeze only.
      - Fix x2go_tce_shell.sh script, escape braces.
      - Change method of mounting /proc, /sys and /dev inside of chroots.
      - Step towards wheezy, enable plymouth boot splash.
      - Symlink /etc/mtab to /proc/mounts before installing any kernel
        during the chroot creation process.
      - Handle /etc/fstab in TCE chroot differently for squeeze and wheezy
        (/dev/pts does not need an entry in fstab on wheezy systems, /var/ru=
n
        got relocated to /run).
      - /etc/network/interfaces in wheezy already contains a loopback device
        entry.
      - Mount proc and sysfs from outside chroot, cleanly unmount both in ca=
se
        there are more than one mountpoints for sysfs or proc mounted.
      - Do not fail if proc or sysfs are already mounted within chroot.
      - Allow thin client management (x2gothinclient_shell,
        x2gothinclient_upgrade) while thin clients are in use.
      - Disable kms for radeon and i915 graphics adapters.
      - x2gothinclient_shell now does not affect boot behavious of the TCE
        machines anymore, thus, removing the notification output when
        launching the X2Go TCE maintenance shell.
      - Drop i686 kernel support, use i486 kernel by default. In Debian whee=
zy
        we only find a 686-pae kernel which fails on some (virtual)  =20
hardware (e.g.
        virtualbox).
      - Make sure that kernel + initrd symlinks are relative symlinks.
      - Keep mounts for /proc and /dev/pts with option noauto for  =20
mounting inside
        of chroot. They are not needed during TCE boot.
      - Make the SSH daemon listen on IPv4 localhost address only.
      - Provide /dev/pts inside chroot.
      - Move configuration template from /usr/share/tce to /usr/share/tce/et=
c.
      - Add direct FreeRDP support for defaults TCE installation.
      - Add empty known_host file for FreeRDP.
      - Start with US keyboard as default keyboard layout.
      - Only mount /proc, /sys, /dev/pts inside chroot if not already mounte=
d.
      - Xorg appears as /usr/bin/X in ps ax output. Make sure it gets detect=
ed.
      - Provide a README.hostname file in doc folder of  =20
x2gothinclientmanagement.
      - For TCE stations with multiple heads, align heads next to each other
        in order of appearance in xrandr.
      - Fix multi-head detection failures where xrandr writes output to stde=
rr
        (closes upstream issue #48).
      - Rename x2goclient user to ,,x2gothinclient'' user (system user =20
  account).
        Make sure that the system user account gets created during
        x2gothinclient_create and during installation of the x2gothinclient
        package (closes upstream issue #47).
      - x2gothinclient_create: replace /home by /var/lib/x2gothinclient in
        /etc/fstab template.
      - x2gothinclient_update: make sure config target folders exist.
      - x2gothinclient_create: syntax fix, spotted by Thomas G=C3=BCttler  =
=20
(Fixes: #95).
      - Export $LANG and $LANGUAGE to TCE daemon.
      - Use qx instead of open3 to launch x2goclient. (Fixes: #66).
      - Only make x2gousbmount and x2gognupgccid scripts functional if
        x2gothinclientd is running.
      - When finishing x2gothinclientd, wait when killing processes till all
        processes have vanished. Only kill processes owned by user  =20
x2gothinclient.
      - When finishing x2gothinclientd, make sure no dbus-* processes remain=
.
      - Unmount /proc, /sys and /dev/pts before doing x2gothinclient_cleanup=
.
      - Add README.qemu that explains how to test the X2Go TCE with qemu.
        (Fixes: #115).
      - Fix code that turns absolute symlinks into relative symlink  =20
for /vmlinuz
        and /initrd.img.
      - Fix shutdown button failures.
      - TCE management: Do an apt-get clean after TCE creation/upgrade.
      - TCE creation: fix installation path of FreeRDP's known_hosts file.
      - TCE creation: install the TCE from the nightly builds while this
        project is not yet released. (Fixes: #251).
      - TCE creation: default to wheezy for creating new TCE environments.
    * /debian/control:
      + Maintainer change in package: X2Go Developers  =20
<x2go-dev@lists.berlios.de>.
      + Priority: optional.
      + Add dependency (x2gothinclient bin:package): x11-xserver-utils =20
  (for xrandr
        support).
      + Add dependency (x2gousbmount, x2gocdmanager): libfile-path-expand-pe=
rl.
      + Bump Standards to 3.9.3 (no changes needed).
      + Remove TCE tools (vim, mc, ...) from Recommends: field,  =20
install those via
        x2gothinclient_create. Add pulseaudio, dbus-x11, policykit-1  =20
to Depends:
        field.
    * /debian/rules:
      + Fix lintian issue: debian-rules-missing-recommended-target build-arc=
h
      + Fix lintian issue: debian-rules-missing-recommended-target build-ind=
ep
    * /debian/x2gothinclient.examples:
      + Fix src location of example config files.
    * /debian/x2gothinclient.install:
      + Install TCE config files into /etc/x2go by default.
    * /debian/x2gothinclientmanagement.manpages:
      + Make sure all man pages for bin:package x2gothinclientmanagement get
        installed into package.
    * /debian/x2gothinclient.init:
      + Update pointer to X2Go TCE documentation on http://wiki.x2go.org.
    * /debian/x2gothinclient.postrm:
      + On action=3Dpurge, wait for 20s until x2gothinclientd has stopped.
    * /debian/po/*:
      + Use po-debconf for translating debconf templates. Add German debconf
        translation.
    * Launch X2Go TCE via /etc/X11/default-display-manager. Add  =20
debconf template
      to handle default display manager selection. Inspired by Debian's gdm
      package.
    * Only start X2Go CD Manager if x2gothinclientd is the default display
      manager.
  .
    [ Oleksandr Shneyder ]
    * New upstream version (1.1.0.0):
      - Use expand_file from File::Path::Expand to detect full path
        of ~x2gothinclient/.halt.

--=20

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.xf=
b
--=_33xugmfm4omf
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)

iQIcBAABAgAGBQJR6benAAoJEJr0azAldxsxmMQP/0u2aNLrjTH0DBblJ7up820b
KpBdjcySsSaGwkWnrTMTaM8oT6Z1jFTH6g6ihHlvUaS+W+XN6Rb0aM2FR1Xi4neY
CRAVuEkZzCiLXEH/RGnMa8XjUxb93EUoTq7HTLwXdhrFYWUdMp+vc/BnylAnbv11
TgEqdB54xqIflpDQCzZPUG4txa+2rWe+495cwRBh6NYR+ctAtB6Y4OAhnYMlSL6o
tX+f9SaiyHqzahXbHYrk/yBHMUeMzQyXY0hVkOZ0Ump7ThjzJRFb1RALB9mBUdmw
Pt706JYEvh2dDrf4Gh5PVnl3sdWFkjNOOnE9ZtcQgnXa8ZSIohoYqscS/xYlLoS1
sxmwINvHXX+6F7rugJHeO19EjQLyLRfPgVnpMjNM062IgqV2bq6G/vu5V55NvH6C
VBB+1ZA1PJ4Ffg1M6cE70G+xgLmGEsm4Xoso/liro6E44OGVHTeDX5YNh6nsWyv4
D8O7w5zZKiL5M4fSBFKdt9zqA9KxVp+BAC0bSevOiuITwqfGIzze2hutAuZYQPKS
5RDR7klP36GoDUJycgYa7LUD3EqNDmKOUqtLv6B2Fz76qGQEI1miWZDMcn/1ouQs
XphR+wOvW7MPd6WgxwjIUYr1A1FychbVOuxG2Xx1bAI2PVxduaLK4tHI95D3Cpzc
1asedmLqZ1jt0HzxLTlJ
=BBeM
-----END PGP SIGNATURE-----

--=_33xugmfm4omf--


------------=_1374271413-11869-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 12 Oct 2012 22:50:22 +0000
Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8])
	by ymir (Postfix) with ESMTP id 158265DB11
	for <submit@bugs.x2go.org>; Sat, 13 Oct 2012 00:50:22 +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 0LwmZo-1TOwhJ2zjk-016U97; Sat, 13 Oct 2012 00:50:21 +0200
Message-ID: <50789EB5.6020003@stefanbaur.de>
Date: Sat, 13 Oct 2012 00:50:29 +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: submit@bugs.x2go.org
Subject: heuler x2gothinclient multihead support breaks singlehead mode
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:6M2D479jCzsiy49SFKqYMSd7NbdFidr0h8c2/QzEeTP
 cmwbwJMgjuFiLhhZ3GO0RY0rFBgv8oKPl3+JFXpzGuAgcasCte
 WmHnRGHOaokT4AWEvYh76eXTPNmJ2biFzYygd2d3HKZ2EgrteY
 VVzwYMiqjURIyRNGcuMtuIQq6lwHI5USzUhpXU5fXfTpqQwZNf
 ry19ufIVL9qPWQ8OXTPbXElxIWlRFBdgl9RxW3RVFCQbyQz4Nc
 Ka5JcF0m2D8N90RoNZ6syOKM0kNTHnp2kLXfoOvyWfLvTzTbrc
 dIRA+eQh8ykLgWGJFgZIZXwSxlpB5T3jdJGF66/bCKaU/f+ks2
 dIxwEIhV/03MiYml+TxOg+t97gI8koPSouw84rWHI

Package: x2gothinclient
Version: 1.0.99.1
Severity: important

/usr/sbin/x2gothinclientd hangs and does not start x2goclient.
The hang is caused by

DISPLAY=:0 LANG=C xrandr | grep ' connected ' | cut -d ' ' -f1

which, when run manually from the command line, gives

"xrandr: Failed to get size of gamma for output default
default" [sic!]

Disabling the entire routine with

-foreach (`DISPLAY=:0 LANG=C xrandr | grep ' connected ' | cut -d ' ' -f1`)
+foreach('')

fixes the issue for singlehead mode, but breaks multihead mode.

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."

-Stefan

------------=_1374271413-11869-0--
