Re: Trisquel 11 - Polkit Issue

1 risposta [Ultimo contenuto]
Quiliro's lists
Offline
Iscritto: 08/05/2022

El 2022-10-29 10:33, name at domain escribió:
> I have gotten around this by changing the desktop file under
> /usr/share/applications to use sudo in a command line to open the
> program. This brings up a terminal window asking for a password which
> is satisfactory to me.

Never do that. It is a great security risk. Think about the
probability that the program which you open changes your whole operating
system, including adding or removing programs, running scripts, etc.

It is better to check the command that the desktop environment runs
(with right-button edit) and try to run it on a terminal. The error
will show there, hopefully. Then you can solve the problem securely.

--
Saluton.
Quiliro Ordóñez
If you want to give Richard Stallman (the father of the free software
movement) a hand, visit https://stallmansupport.org
All information received in subsequent emails and the associated
attachments is considered public with rights to use, redistribute,
modify and distribute modified versions, regardless of any previous or
future notice. If you do not agree with these terms, do not send me that
information. Thank you.

grimlok
Offline
Iscritto: 04/16/2013

==== AUTHENTICATING FOR com.ubuntu.pkexec.lightdm-gtk-greeter-settings ===
Authentication is required to run Settings editor for LightDM GTK+ Greeter
Authenticating as: grimlok,,, (grimlok)
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized

This incident has been reported.

This is what I get when I run it.