From siretart@gmail.com  Thu Dec  6 13:39:04 2012
Received: (at 78) by bugs.x2go.org; 6 Dec 2012 12:39:04 +0000
Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51])
	by ymir (Postfix) with ESMTPS id 6F72E3BC43
	for <78@bugs.x2go.org>; Thu,  6 Dec 2012 13:39:04 +0100 (CET)
Received: by mail-oa0-f51.google.com with SMTP id n12so5952740oag.24
        for <78@bugs.x2go.org>; Thu, 06 Dec 2012 04:39:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc:content-type;
        bh=wcG4weL0s9pKIU8jlu2o0SmQA7VBheFtZTE0OAwKYLM=;
        b=bxbbdhqrjqAtg5znNz35Q7cqf7wduAKgmlQfkh/gSnqLFURM3J5yc96SSOq2H4hHEm
         D/FI+/8DDS/tBy5zby4Wx9b0jmwQtyDyQJL1XCgyB/l+rCHgR6WiqFND+Q3xIvhpF2xN
         FTsjTysmMlXTzKTmyIHajkpg7amsl8CqX7his+hjOh8aIUaZRlSkCnXdy4Uk/1qqNKXx
         9Agsn0DCvViRDO4D/d+yL7ZtPUPC4qFVQf881tZFYucXc8kq2ldie8u0eYkxpH1WC+0T
         sLs4cHOf5Qy8QyjOLmh3Z1rD849VVyKhV3sqUg7pRfayfUb/w3Z8v9dRFxUGdTWa9wUc
         8NAg==
MIME-Version: 1.0
Received: by 10.182.116.6 with SMTP id js6mr665307obb.82.1354797543045; Thu,
 06 Dec 2012 04:39:03 -0800 (PST)
Received: by 10.60.25.71 with HTTP; Thu, 6 Dec 2012 04:39:02 -0800 (PST)
In-Reply-To: <20121206131705.793766afr8kpnzk1@mail.das-netzwerkteam.de>
References: <CAJ0cceZ8wbmchBDJczpoAanHcac3iK_Z3cQ3mFD6ZA84xWyWiA@mail.gmail.com>
	<20121206131705.793766afr8kpnzk1@mail.das-netzwerkteam.de>
Date: Thu, 6 Dec 2012 13:39:02 +0100
Message-ID: <CAJ0ccea7N=A3YA81G-QF5-f250S9+wXRFTm32aWus=8+dVQDgw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#78: NX_xrandr lacks support from Xrandr 1.2 and higher
From: Reinhard Tartler <siretart@gmail.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 78@bugs.x2go.org
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Dec 6, 2012 at 1:17 PM, Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
> 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.

In that case I'm happy to confirm that your "workaround" does not fix
anything in Kubuntu 12.10 nor when upgrading to raring.

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

This also happens with this workaround.

What does help, however, is downgrading the libxfixes3 package to the
version in oneiric.

-- 
regards,
    Reinhard
