Some apps will not load in VNC, why?
Bo Berglund
bo.berglund at gmail.com
Wed Jan 26 17:17:49 UTC 2022
On Mon, 24 Jan 2022 18:50:30 -0500, Bijan Soleymani <bijan at psq.com> wrote:
>On 2022-01-24 6:25 p.m., Bo Berglund wrote:
>> On Mon, 24 Jan 2022 15:41:35 -0500, Bijan Soleymani <bijan at psq.com> wrote:
>>> Oh and to run it manually once too:
>>> ~$ mate-polkit
>>
>> Thanks,
>> I tried it but got this response:
>> $ mate-polkit
>> ** (polkit-mate-authentication-agent-1:6211): polkit-mate-1-WARNING **:
>> 23:46:50.514: Unable to determine the session we are in: No session for pid 6211
>>
>> What is the "session" it is talking about?
>> I am doing this in the VNC screen :1 from my Windows PC if that matters.
>
>
>Looks like this:
>
>https://bugs.launchpad.net/ubuntu/+source/policykit-1-gnome/+bug/1890028
>
>Not sure if that is the same issue.
>
>Bijan
If this is the case, what is the solution?
If "session" is connected to some property of the desktop, then it should grab
the VNC desktop which is what is running and where the request to show the app
(GParted for example) comes from.
If it tries any other (physical) desktop then there is none in this case AFAICT.
The behaviour when starting GParted in VNC is to show a circular mouse pointer
that rotates, probably a timeout of some kind. After a while it disappears and
nothing else happens.
If I start GParted in the physicak computer desktop then a pop-up dialog is
shown where I am asked to enter the sudo password. This stays on indefinitely so
there seems to be no timeout. When pwd is entered GParted loads normally.
--
Bo Berglund
Developer in Sweden
More information about the ubuntu-users
mailing list