From ionic@ionic.de  Sun Sep  3 08:30:45 2017
Received: (at 1201) by bugs.x2go.org; 3 Sep 2017 06:30:54 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham autolearn_force=no
	version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B477F5DACF
	for <1201@bugs.x2go.org>; Sun,  3 Sep 2017 08:30:45 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Mi43hEb4Dawc for <1201@bugs.x2go.org>;
	Sun,  3 Sep 2017 08:30:21 +0200 (CEST)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id DDFF55DACB
	for <1201@bugs.x2go.org>; Sun,  3 Sep 2017 08:30:19 +0200 (CEST)
Received: from [10.20.16.17] (178.162.222.163.adsl.inet-telecom.org [178.162.222.163])
	by mail.ionic.de (Postfix) with ESMTPSA id ACE2F4F00657;
	Sun,  3 Sep 2017 08:30:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1504420211; bh=g7Nnb48FAdjmPSFCfeGyW2NhLn8zELjtlvfPDpgqVfE=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=Z0WkdCY1jrmNniglrFwAfoPsf7ukOXXMSU2HPq117vjxEDjkMyUKqpMiOFh64up00
	 bTf9nCEaNrvzShLLEiiD6cRhbuI0c1OevlKx6mEWocJfd0X1VQaqCYIpp48u6B0LgZ
	 HJUPadkZAGEGGSzM4StZro/Q+gXzvkySgcs06v04=
Subject: Re: Black window with KDE5 plasma
To: Klaus Fuerstberger <linuxbox@arcor.de>, 1201@bugs.x2go.org
References: <730dff47-1a1b-a7a0-3f05-ebd2905ac555@arcor.de>
 <handler.1201.B1201.15037575439869.ackinfo@bugs.x2go.org>
 <1a3dea91-6f46-091c-52df-80277c28dde2@arcor.de>
 <9376ae1f-5ea3-0c0d-f3ce-969dc2036276@ionic.de>
 <573978bc-4d55-ff42-4a8c-8276f037d616@arcor.de>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <b608fe5c-3924-38e1-b811-df1e4562f167@ionic.de>
Date: Sun, 3 Sep 2017 08:30:07 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <573978bc-4d55-ff42-4a8c-8276f037d616@arcor.de>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="wUuWt2oMgRBR1TiWikwNPsTgiSdPdwqkF"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--wUuWt2oMgRBR1TiWikwNPsTgiSdPdwqkF
Content-Type: multipart/mixed; boundary="2xNoXvDtLtO2i0kobMIHrR4kdwVePtJGn";
 protected-headers="v1"
From: Mihai Moldovan <ionic@ionic.de>
To: Klaus Fuerstberger <linuxbox@arcor.de>, 1201@bugs.x2go.org
Message-ID: <b608fe5c-3924-38e1-b811-df1e4562f167@ionic.de>
Subject: Re: Black window with KDE5 plasma
References: <730dff47-1a1b-a7a0-3f05-ebd2905ac555@arcor.de>
 <handler.1201.B1201.15037575439869.ackinfo@bugs.x2go.org>
 <1a3dea91-6f46-091c-52df-80277c28dde2@arcor.de>
 <9376ae1f-5ea3-0c0d-f3ce-969dc2036276@ionic.de>
 <573978bc-4d55-ff42-4a8c-8276f037d616@arcor.de>
In-Reply-To: <573978bc-4d55-ff42-4a8c-8276f037d616@arcor.de>

--2xNoXvDtLtO2i0kobMIHrR4kdwVePtJGn
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 09/01/2017 12:42 PM, Klaus Fuerstberger wrote:
> The nvidia driver installer removes the conflicting mesa drivers and
> especially /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0
>=20
> If I backup this library bevor installing the nvidia driver and change
> one symbolic link pointing to the systems library then x2go works fine.=


Are you really using the nVidia installer package? You shouldn't do that.=

Instead, use the packages your distribution provides. They do things diff=
erently
and more importantly correct from a distribution viewpoint.

For instance, they won't be removing MESA's libGL version.

Debian (and probably thus also Ubuntu) uses its alternatives system to se=
lect
the libraries provided by different implementations, one of which is nVid=
ia.

I don't know how it's done on other systems, but they probably do somethi=
ng like
that as well.


> Of course this workaround does not function, when started with the x2go=

> Xsession, because the user has no write permissions in
> /usr/lib/x86_64-linux-gnu.
>=20
> I wonder why x2go worked bevor with KDE4 and the nvidia drivers.

No idea, but software changes. Maybe nVidia's libGL was just compatible e=
nough
to work previously, but now isn't.

In any case, we never intended to use anything but MESA's libGL.


Just today I've had a report of a user that all Qt5-based applications di=
dn't
work any longer on his system (Debian Buster). Turned out that the nvidia=

drivers were installed and that this was the culprit.

When we switched to MESA's implementation via sudo update-alternatives --=
set glx
/usr/lib/mesa-diverted, things started to work again.

Sadly, while this might fix X2Go sessions, it's not a viable option for u=
sers
who also want to use their machines directly.

Also, sadly, I didn't yet come up with any means of overriding libGL and
whatever other library is being switched from X2Go Server's scripts. I'd =
like to
just always force the MESA libraries for X2Go sessions only, but this stu=
ff is
rooted deep into the system.



Mihai


--2xNoXvDtLtO2i0kobMIHrR4kdwVePtJGn--

--wUuWt2oMgRBR1TiWikwNPsTgiSdPdwqkF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCgAdFiEEbhHQj3UzgcdE8cg8H9Yu2W4lOocFAlmroW8ACgkQH9Yu2W4l
OoecCBAAh3jhRn0I17+InZZlYcxwFzz1I6JQgbvLm/OtASrBFZZUs0aDzOl7eBcD
3EtXlHGZYXYWmHFFfhzs0RUAcX5kHFbOixAre4uS4U3Zozy4BXLcDk8b8fmDEHjB
i7LterAqRl6cgL0QW+OJgINM+E3dJyPchQtJOwdbNRAfIP6J+tWz7bI6RY1V5dd/
8Hgp7CSXlQMGOwW8pE3DtShaj859K6MQ79Q5grNt1qnN9wYJFPlwZQ3NkmHzfoT6
Ni+fiSIwE3wWWr95FCtzaPLRARiMTKiyWZv6T9zzlsRf6B0iPxQmFLaBCZMqINhW
6EsHkc9MQAtKUmdvAuf7sAOSnxWgJ1asn9/E16OA6oC6YrxGvjsl5HpiJ9BNsqz1
Gty+CmIhJRRxNnAbBsGtTMGOOYwltU/3JQVUpzENJ8Ic02MICs/cX9FKwRVqFryZ
P55TBW82andBTWSGnYhp4/UFiHz6ZY/kskpAPBs2qvcv+/OUA2RwiUj8+XVTaHmG
QtsUGDmZGexO/aJkhuumZt4UwJsP/ZGc0xwceDv3HQIzSki3QH/m3VBWGA9jKTim
eiq8OjjtJysN+RSswRUjMfcNirZttLhFPc2yVdi5vYOoTmxvJFyXQ2Zg1kFhO0nC
QoiC+fkSboOJ14UQZk28CJBIqfnRM9KV3yWLtwsMuMbTI1is7uI=
=J0jP
-----END PGP SIGNATURE-----

--wUuWt2oMgRBR1TiWikwNPsTgiSdPdwqkF--

