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

Mihai Moldovan ionic at ionic.de
Wed Mar 25 08:56:32 CET 2015


On 31.07.2013 12:22 PM, Mike Gabriel wrote:
> Hi Morty,
>
> On Mi 31 Jul 2013 11:47:40 CEST Moritz Struebe wrote:
>
>> On 2013-07-31 10:33, Pascal d'Hermilly wrote:
>>>
>>> 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
>>
>> Could you put that on the wiki?
>
> I plan to add such a sudoers.d/x2goserver file in the next release of
> X2Go server.
>
> No need for the wiki page.

During my latest adventures with x2goserver/SUSE, I came across one
particular problem: /etc/sudoers.d does not exist on SUSE 11 and is not
used either (this is also why the latest builds after my commits today
failed.)

This means that a file installed in /etc/sudoers.d will not work on that
system.

There is /etc/sudoers, but as this is a single file, we can't just
overwrite it. I have no idea how to fix that problem (2 years later)
once and for all for SUSE 11, currently, other than doing this in a
%post/%preun scriptlet. I'll try getting help in the OBS channel.

Unless anyone here has any ideas how to correctly change the "static"
/etc/sudoers file?



Mihai

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20150325/69514b31/attachment.pgp>


More information about the x2go-dev mailing list