X2Go Bug report logs - #1201
Black window with KDE5 plasma

version graph

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

Reported by: Klaus Fuerstberger <linuxbox@arcor.de>

Date: Fri, 18 Aug 2017 10:35:01 UTC

Severity: normal

Merged with 892

Found in versions 4.1.0.0-0x2go1.2, 4.0.1.19-3.fc22

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1201: Black window with KDE5 plasma
Reply-To: Mihai Moldovan <ionic@ionic.de>, 1201@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 03 Sep 2017 06:35:02 +0000
Resent-Message-ID: <handler.1201.B1201.150442025410940@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1201
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 1201-submit@bugs.x2go.org id=B1201.150442025410940
          (code B ref 1201); Sun, 03 Sep 2017 06:35:02 +0000
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=
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"
[Message part 1 (text/plain, inline)]
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
> 
> 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 differently
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 select
the libraries provided by different implementations, one of which is nVidia.

I don't know how it's done on other systems, but they probably do something 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.
> 
> I wonder why x2go worked bevor with KDE4 and the nvidia drivers.

No idea, but software changes. Maybe nVidia's libGL was just compatible enough
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 didn'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 users
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 stuff is
rooted deep into the system.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 19 10:51:44 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.