From pascal@dhermilly.dk Mon Jul 29 16:02:20 2013 Received: (at submit) by bugs.x2go.org; 29 Jul 2013 14:02:21 +0000 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 ; 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 ; 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 ; 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 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" This is a multi-part message in MIME format. --------------040104090805060906070102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. --------------040104090805060906070102 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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.
--------------040104090805060906070102--