[Gambas-user] run project as root

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Sep 23 21:32:13 CEST 2012


I don't understand...

This works in terminal (so there is nothing wrong with the xdg-su script):
xdg-su -c whoami

But Desktop.RunAsRoot() does something else..?

Jussi







On Sun, Sep 23, 2012 at 8:44 PM, Jussi Lahtinen <jussi.lahtinen at ...626...>wrote:

>  I tried your code, and I obtain in TextEdit simply the word:  root
>>
>> (But I should be getting: vuott)
>>
>
> No. If you run it as root, you should get root!
> I wonder why it works on your system... What it your system?
>
> Jussi
>



More information about the User mailing list