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 #58 received at 276@bugs.x2go.org (full text, mbox, reply):

Received: (at 276) by bugs.x2go.org; 31 Jul 2013 08:33:18 +0000
From pascal@dhermilly.dk  Wed Jul 31 10:33:17 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
Received: from pasmtpB.tele.dk (pasmtpb.tele.dk [80.160.77.98])
	by ymir (Postfix) with ESMTP id 7DAA85DB17
	for <276@bugs.x2go.org>; Wed, 31 Jul 2013 10:33:17 +0200 (CEST)
Received: from dhermilly.dk (93-167-5-174-static.dk.customer.tdc.net [93.167.5.174])
	by pasmtpB.tele.dk (Postfix) with ESMTP id DC6AC2D8095;
	Wed, 31 Jul 2013 10:33:16 +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 91607865A3;
	Wed, 31 Jul 2013 10:33:16 +0200 (CEST)
Message-ID: <51F8CBCC.3010808@dhermilly.dk>
Date: Wed, 31 Jul 2013 10:33:16 +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: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
CC: Ricardo Díaz Martín
 <ricardo.diaz@oceanosoft.com>, 276@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#276: Bug#276: qt/kde applications does not work
 as root.
References: <51F66E5B.8080200@dhermilly.dk> <20130730002503.20873y4n4tfolgov@mail.das-netzwerkteam.de> <51F705BF.1050404@dhermilly.dk> <CAPWth0JV+xJj8vykE=m5nx8DfVAmqCGNRp=r0zWNLL+kThQ=_g@mail.gmail.com> <20130731090852.18251q3rgy6w1kw4@mail.das-netzwerkteam.de>
In-Reply-To: <20130731090852.18251q3rgy6w1kw4@mail.das-netzwerkteam.de>
Content-Type: multipart/alternative;
 boundary="------------090707000301070408020608"
[Message part 1 (text/plain, inline)]
Den 31-07-2013 09:08, Mike Gabriel skrev:
>>>
>>
>> Can you copy/paste the content of your /etc/sudoers? I just tried to add
>> this line after Defaults and doesn't work for me. I also tried to comment
>> Defaults
>
> Yes, that would be good. Please provide a file that works when being placed into /etc/sudoers.d/. 

Actually mine broke again, because I apparently didn't use visudo. Anyway, I made a 3-step guide for getting it to work. This time I tested after a restart ;-)
Do as root:

echo "Defaults        env_keep +=\"QT_GRAPHICSSYSTEM\"" > /etc/sudoers.d/X2Go
chmod 0440 /etc/sudoers.d/X2Go
service sudo restart
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 09:18:39 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.