X2Go Bug report logs - #78
NX_xrandr lacks support from Xrandr 1.2 and higher

version graph

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

Reported by: Reinhard Tartler <siretart@gmail.com>

Date: Thu, 6 Dec 2012 12:03:02 UTC

Severity: important

Tags: confirmed, fixed-upstream, moreinfo

Merged with 637

Found in version 3.5.0.27

Fixed in version 3.5.99.0

Forwarded to https://github.com/ArcticaProject/nx-libs/pull/137

Full log


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

Received: (at 78) by bugs.x2go.org; 6 Dec 2012 12:17:06 +0000
From mike.gabriel@das-netzwerkteam.de  Thu Dec  6 13:17:06 2012
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
Subject: Re: [X2Go-Dev] Bug#78: NX_xrandr lacks support from Xrandr 1.2 and
 higher
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)
[Message part 1 (text/plain, inline)]
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
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 14:28:53 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.