xfce4: xfpm-power-backlight-helper alway let me input password.

  • Open
  • quality assurance status badge
Details
One participant
  • tumashu
Owner
unassigned
Submitted by
tumashu
Severity
normal
T
T
tumashu wrote on 26 Feb 2022 01:33
(name . guix-patches@gnu.org)(address . guix-patches@gnu.org)
412958e8.213.17f33729bc2.Coremail.tumashu@163.com
Toggle quote (25 lines)
>>At 2022-02-22 15:04:22, "???" <iyzsong@outlook.com> wrote:
>>
>>>tumashu <tumashu@163.com> writes:
>>>
>>>> Hello:
>>>>
>>>> When I update my guix system today, I have found that run xfce4: xfpm-power-backlight-helper alway let me input password, how to avoid input password?
>>>
>>>No answer yet, my understand is that:
>>>
>>>1. xfpm-power-backlight-helper need to run with 'pkexec'.
>>>2. 'pkexec' will always ask for password unless some polkit rules allow
>>> the action.
>>>3. '/etc/polkit-1/actions/org.xfce.power.policy' allows the action, but its
>>> executable is something like
>>> '/gnu/store/vsnzjhjm37cd42w7vv7mxgy8hi8w6zi0-xfce4-power-manager-4.16.0/sbin/xfpm-power-backlight-helper'.
>>>
>>>So run 'pkexec xfpm-power-backlight-helper' will ask for password while 'pkexec /gnu/store/.../xfpm-power-backlight-helper' will not.
>>
>>no, need input password when run "pkexec /gnu/store/.../xfpm-power-backlight-helper"
>>
>>I do not run this command by hand, when I start xfce4 with slim, a window pop and let me input password many time,
>>when I press Fkey, ask password again.
>
> When I test gnome and mate, have no this problem.
Attachment: file
?