From unknown Sun Apr 26 10:58:05 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#276 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (X2Go issue (in src:x2goserver) has been marked as closed)
Message-ID: <handler.276.c.13851539837225.notifdone@bugs.x2go.org>
References: <20131122205927.4D20D5DB18@ymir>
X-X2go-PR-Keywords: pending
X-X2go-PR-Message: they-closed 276
X-X2go-PR-Package: x2goserver
X-X2go-PR-Source: x2goserver
Date: Fri, 22 Nov 2013 21:03:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1385154184-8527-0"

This is a multi-part message in MIME format...

------------=_1385154184-8527-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2goserver package:

#276: add sudo rule to keep QT_GRAPHICSSYSTEM as env var

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1385154184-8527-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at control) by bugs.x2go.org; 22 Nov 2013 20:59:43 +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=-1.9 required=5.0 tests=BAYES_00,NO_RELAYS,
	URIBL_BLOCKED autolearn=unavailable version=3.3.2
Received: by ymir (Postfix, from userid 1005)
	id 4D20D5DB18; Fri, 22 Nov 2013 21:59:27 +0100 (CET)
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 276-submitter@bugs.x2go.org
Cc: control@bugs.x2go.org, 276@bugs.x2go.org
Subject: X2Go issue (in src:x2goserver) has been marked as closed
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Message-Id: <20131122205927.4D20D5DB18@ymir>
Date: Fri, 22 Nov 2013 21:59:27 +0100 (CET)

close #276
thanks

Hello,

we are very hopeful that X2Go issue #276 reported by you
has been resolved in the new release (4.0.1.7) of the
X2Go source project »src:x2goserver«.

You can view the complete changelog entry of src:x2goserver (4.0.1.7)
below, and you can use the following link to view all the code changes
between this and the last release of src:x2goserver.

    http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=447e68e8b82ea4b14e5072e57a0fbc82ef32d687;hp=2d19587c215d49048b6295d87c06c452939a1b8b

If you feel that the issue has not been resolved satisfyingly, feel
free to reopen this bug report or submit a follow-up report with
further observations described based on the new released version
of src:x2goserver.

Thanks a lot for contributing to X2Go!!!

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
X2Go Component: src:x2goserver
Version: 4.0.1.7
Status: RELEASE
Date: Fri, 22 Nov 2013 21:58:27 +0100
Fixes: 276 278 285 305 310 331
Changes: 
 x2goserver (4.0.1.7) RELEASED; urgency=low
 .
   [ Orion Poplawski ]
   * New upstream version (4.0.1.7):
     - Install Xsession file as executable, make Xsession.d directory location
       configurable during build process, do not create unused Xsession.options.
       (Fixes: #278).
 .
   [ Mike Gabriel ]
   * New upstream version (4.0.1.7):
     - Fine-tune x2goserver-xsession/Makefile: if /etc/X11 has Xsession.d and/or
       Xsession.options they get symlinked into /etc/x2go. Otherwise Xsession.d
       and Xsession.options are created under /etc/x2go as empty dir/file.
       (Fixes: #278).
     - Fix automatic keyboard setup (via x2gosetkeyboard) while resuming a
       session. (Fixes: #285).
     - Provide sudoers.d/x2goserver file that allows sudoed commands under
       KDE (by pertaining the env var QT_GRAPHICSSYSTEM. (Fixes: #276).
     - With PostgreSQL as session db backend, prevent the root user from
       launching sessions. Also, prevent x2gouser_root from being added as a
       PostgreSQL user. (Fixes: #310).
     - Execute DB status changes as late as possible during suspend / terminate.
     - Start/resume rootless sessions without geometry parameter. Esp. using
       X2GO_GEOMETRY=fullscreen for rootless sessions lead to an extra 1x1 px
       session window (nxagentCreateIconWindow in nxagent's Window.c).
     - Typo fix in x2goruncommand (for MATE session startup).
   * debian/control:
     + Update LONG_DESCRIPTIONS.
     + Raise Standards: to 3.9.4 (no changes needed).
     + Move xfonts-base to Recommends: field of bin:package x2goserver.
   * debian/x2goserver.init:
     + Make init script LSB compliant.
 .
   [ Helmer Teles ]
   * New upstream version (4.0.1.7):
     - Make umask that is used when mounting client-side folders via SSHFS
       configurable in x2goserver.conf. (Fixes: #331).
 .
   [ Jürgen Hötzel ]
   * New upstream version (4.0.1.7):
     - Use bash-builtin 'type' instead of to be avoided 'which'. (Fixes: #305).
 .
   [ Oleksandr Shneyder ]
   * New upstream version (4.0.0.6):
     - Fix x2goruncommand: "type -P $cmd" can create new lines in EXEC
       variable if command have the arguments wich have same names as existing
       commands, for example "rdesktop -k nl" -> "/usr/bin/rdesktop\n/usr/bin/nl".
       Now we splitting $cmd and taking only first part.


------------=_1385154184-8527-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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 <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"

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

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Package: x2goclient<br>
    Version: 4.0.1.0<br>
    <br>
    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.<br>
    <br>
    administrator@desktops-x2go:~$ sudo dolphin --graphicssystem raster<br>
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9<br>
    &nbsp; Major opcode: 62 (X_CopyArea)<br>
    &nbsp; Resource id:&nbsp; 0x420007d<br>
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9<br>
    &nbsp; Major opcode: 62 (X_CopyArea)<br>
    &nbsp; Resource id:&nbsp; 0x420007d<br>
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9<br>
    &nbsp; Major opcode: 62 (X_CopyArea)<br>
    &nbsp; Resource id:&nbsp; 0x420007d<br>
    X Error: BadDrawable (invalid Pixmap or Window parameter) 9<br>
    &nbsp; Major opcode: 62 (X_CopyArea)<br>
    &nbsp; Resource id:&nbsp; 0x420007d<br>
    X Error: BadPixmap (invalid Pixmap parameter) 4<br>
    &nbsp; Major opcode: 54 (X_FreePixmap)<br>
    &nbsp; Resource id:&nbsp; 0x420007d<br>
    X Error: BadShmSeg (invalid shared segment parameter) 128<br>
    &nbsp; Extension:&nbsp;&nbsp;&nbsp; 129 (MIT-SHM)<br>
    &nbsp; Minor opcode: 2 (X_ShmDetach)<br>
    &nbsp; Resource id:&nbsp; 0x420007c<br>
    administrator@desktops-x2go:~$ sudo dolphin --graphicssystem native<br>
    <br>
    this works fine. Also gtk applications such as gimp works fine as
    root.<br>
    <br>
    This is quite a problem when you want to add/remove users and do
    other administrative things in KDE.<br>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style>
  </body>
</html>

--------------040104090805060906070102--

------------=_1385154184-8527-0--
