From unknown Sun May 17 01:33:26 2026
X-Loop: git-admin@x2go.org
Subject: Bug#78: NX_xrandr lacks support from Xrandr 1.2 and higher
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 78@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.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: Thu, 06 Dec 2012 12:18:02 +0000
Resent-Message-ID: <handler.78.B78.135479622619154@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 78
X-X2Go-PR-Package: x2goagent
X-X2Go-PR-Keywords: 
Received: via spool by 78-submit@bugs.x2go.org id=B78.135479622619154
          (code B ref 78); Thu, 06 Dec 2012 12:18:02 +0000
Received: (at 78) by bugs.x2go.org; 6 Dec 2012 12:17:06 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 7576B3BC43
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:17:06 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 3E6DE36F
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:17:06 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id A7B753BB8D
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:17:05 +0100 (CET)
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 O9YzXL1l6Uom for <78@bugs.x2go.org>;
	Thu,  6 Dec 2012 13:17:05 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 89C6D3BFE0
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:17:05 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 71B0E3BB8D
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:17:05 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 0FE9B3BBF1; Thu,  6 Dec 2012 13:17:05 +0100 (CET)
Received: from m-110.informatik.uni-kiel.de (m-110.informatik.uni-kiel.de
 [134.245.254.110]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Thu, 06 Dec 2012 13:17:05 +0100
Message-ID: <20121206131705.793766afr8kpnzk1@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Thu, 06 Dec 2012 13:17:05 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Reinhard Tartler <siretart@gmail.com>, 78@bugs.x2go.org
References:  <CAJ0cceZ8wbmchBDJczpoAanHcac3iK_Z3cQ3mFD6ZA84xWyWiA@mail.gmail.com>
In-Reply-To:  <CAJ0cceZ8wbmchBDJczpoAanHcac3iK_Z3cQ3mFD6ZA84xWyWiA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_7kv7myk01ark";
 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.

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

Hi Reinhard,

On Do 06 Dez 2012 12:59:36 CET Reinhard Tartler wrote:

> Package: x2goagent
>
> When starting a new x2go session, the startup scripts modify the
> LD_LIBRARY_PATH of all applications to include /usr/lib/nx/X11/Xrandr.
> This replaces the system libXrandr with the NX/X2go  provided one.
> Unfortunately, this breaks the xrandr utility:
>
>>> echo $LD_LIBRARY_PATH
> /usr/lib/nx/X11/Xrandr:/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11
>
>>> xrandr
> xrandr: symbol lookup error: xrandr: undefined symbol: XRRGetScreenSizeRange
> zsh: exit 127   xrandr

this was done to work around a critical Ubuntu KDE bug in precise:
https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/985202

The path add-on for Xrandr is only done for KDE sessions. I will be  
happy to revert that nasty hack, but before that, we need someone to  
dig into KDE and (if I recall correctly) the patches applied to  
libxfixes in Ubuntu 12.04 and beyond.

If you disable the LD_LIBRARY_PATH code for Xrandr (x2goruncommand),  
then you will find regularly kwin crashes on KDE in precise+.

Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
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

--=_7kv7myk01ark
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)

iQIcBAABAgAGBQJQwIzAAAoJEJr0azAldxsxOLMQAKgyCSdEvpFS5uogPgDwHtam
dCZ9uYJ2Ir2qtw2m3WnvH2HDu35WD4A0H/T8DvsyG28xXAmHiPVOA+w6Sw2bLLoT
95MjZYtpWYOpanoNygxappvWaykpYNOASAfe63Kzy/qQTAnNW6qQEKen3kwcKZSB
/1oflOO//xQocOohdS43VnxBC8Wn687Rxv/lszqm3kCzucSFPvokfLZcLAJzAB3Z
JmuyHwpGmDPlIqxAxBT9gzWGT2oobQe4gYAvnKze1IuN5FyOg9biI4xlH2Xv9Ddf
OSeKmPvaSfh+sC6RFOheWrxv9uGgZCprOBdk/faNpVs4UjmPPmpkP0Jb2/Z39Xop
DHjus5KKpaNUSh3VRK5VTC/cBC9QFg77xvGT+zAhtNHjWgzxifJUOYiCAZmwC9nT
kuPZmXGJDDhOvQbV+4vcTxOix5WG+EhLu2EXj3OOQUnzCa9dPlgHbDSFPE7SRFaR
fgqMxSk8m6w8cuN1NS0flzHUwrgQgIBrJeaa2x0FkJvwLtFizG31GEkAr2eTbkDM
r5UsxDJf/AShl/rlfloh2iW2ubXXPwGk4XdsX26rznRCGfNTcRaa8WlabIO2OHBn
BB6CUZSzQqgzCTeEZX+ygJWF0WI+e6mQT5uhZZNAsweLCjDYzhmmTlk7QtcZEuQ5
hhOBbnTkay+zp/Ab7XeW
=bdCd
-----END PGP SIGNATURE-----

--=_7kv7myk01ark--
