[X2Go-Dev] Bug#276: Bug#276: Bug#276: qt/kde applications does not work as root.

Pascal d'Hermilly pascal at dhermilly.dk
Wed Jul 31 10:33:16 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130731/026a10a7/attachment.html>


More information about the x2go-dev mailing list