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,

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
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
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
Received: from localhost (localhost [])
	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 ([])
	by localhost (ymir.das-netzwerkteam.de []) (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 [])
	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 [] ( [])
	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=;
To: Klaus Fuerstberger <linuxbox@arcor.de>, 1201@bugs.x2go.org
References: <730dff47-1a1b-a7a0-3f05-ebd2905ac555@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
MIME-Version: 1.0
In-Reply-To: <573978bc-4d55-ff42-4a8c-8276f037d616@arcor.de>
Content-Type: multipart/signed; micalg=pgp-sha512;
[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.


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

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Jan 29 11:44:46 2023; 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.