[Gambas-user] EXEC ... WITH

Dimitris Anogiatis dosida at gmail.com
Mon Jul 19 12:56:37 CEST 2021


This actually worked out for me (i'm on Debian 10.10 with MATE Desktop):

Exec ["pkexec", "env", "DISPLAY=" & Env["DISPLAY"], "XAUTHORITY=" &
Env["XAUTHORITY"], Application.Path &/ "vcpufreq-gui.gambas"] Wait

Yes It's an older version of Gambas (3.12) but it showed me that the plugin
it used was qt5ct.

Checking your initial error message it looks like xcb is complaining. Is
xcb installed in your Mint installation?


On Sun, Jul 18, 2021 at 8:28 PM Bruce Steers <bsteers4 at gmail.com> wrote:

> try adding gbr3 to pkexec policies.
>
> that pkAppMan will do it for you (it's one of it's presets)
>
> Or if you initially run pkAppMan from a terminal using sudo it will ask to
> auto-add gbr3 to pkexec rules (if you want it to)
> it does not allow any application to auto get root access you still have
> to put in the password but you get the gui requester.
>
> There's one way to find out if it fixes anything  :)
>
> BruceS
>
>
> On Mon, 19 Jul 2021 at 02:05, <jose.rodriguez at cenpalab.cu> wrote:
>
>> July 18, 2021 7:05 PM, "Bruce Steers" <bsteers4 at gmail.com
>> <bsteers4 at gmail.com?to=%22Bruce%20Steers%22%20%3Cbsteers4 at gmail.com%3E>>
>> wrote:
>>
>> Also check out this other application I made...
>> https://gitlab.com/bsteers4/pkAppMan
>> It edits the pkexec policies.
>> I assume you know you need to add gbr3 (and possibly another launcher
>> binary) to pkexec policy list so gambas applications work. I assume because
>> it works in cli
>>
>>
>> I've read about having to edit the policies, but I didn't need to do that
>> for it to work from the console.
>>
>> Regards,
>> Joe1962
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210719/e711a9ce/attachment.htm>


More information about the User mailing list