X2Go Bug report logs - #276
add sudo rule to keep QT_GRAPHICSSYSTEM as env var

version graph

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

Reported by: Pascal d'Hermilly <pascal@dhermilly.dk>

Date: Mon, 29 Jul 2013 14:03:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.1.6

Fixed in version 4.0.1.7

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at submit) by bugs.x2go.org; 29 Jul 2013 14:02:21 +0000
From pascal@dhermilly.dk  Mon Jul 29 16:02:20 2013
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE,
	RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-Greylist: delayed 1921 seconds by postgrey-1.34 at ymir; Mon, 29 Jul 2013 16:02:20 CEST
Received: from pasmtpA.tele.dk (pasmtpa.tele.dk [80.160.77.114])
	by ymir (Postfix) with ESMTP id AEB6A5DB17
	for <submit@bugs.x2go.org>; Mon, 29 Jul 2013 16:02:20 +0200 (CEST)
Received: from dhermilly.dk (93-167-5-174-static.dk.customer.tdc.net [93.167.5.174])
	by pasmtpA.tele.dk (Postfix) with ESMTP id 2BF5A800103
	for <submit@bugs.x2go.org>; Mon, 29 Jul 2013 15:30:19 +0200 (CEST)
Received: from [192.168.1.24] (vpn.transnordictours.dk [93.163.27.230])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by dhermilly.dk (Postfix) with ESMTPSA id F3C6C85A44
	for <submit@bugs.x2go.org>; Mon, 29 Jul 2013 15:30:18 +0200 (CEST)
Message-ID: <51F66E5B.8080200@dhermilly.dk>
Date: Mon, 29 Jul 2013 15:30:03 +0200
From: Pascal d'Hermilly <pascal@dhermilly.dk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version: 1.0
To: submit@bugs.x2go.org
Subject: qt/kde applications does not work as root.
Content-Type: multipart/alternative;
 boundary="------------040104090805060906070102"
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 4.0.1.0

When I start qt/kde applications on the x2go server via the x2goclient, I get a grey application and a lot of error messages in the konsole. A workaround seems to be to change the graphicssystem to native instead of raster. However raster is the default in Kubuntu and it doesnt work when running things as root or through sudo.

administrator@desktops-x2go:~$ sudo dolphin --graphicssystem raster
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x420007d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x420007d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x420007d
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x420007d
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x420007d
X Error: BadShmSeg (invalid shared segment parameter) 128
  Extension:    129 (MIT-SHM)
  Minor opcode: 2 (X_ShmDetach)
  Resource id:  0x420007c
administrator@desktops-x2go:~$ sudo dolphin --graphicssystem native

this works fine. Also gtk applications such as gimp works fine as root.

This is quite a problem when you want to add/remove users and do other administrative things in KDE.
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 11:18:54 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.