guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug]: xfce4: xfpm-power-backlight-helper alway let me input passwo


From: 宋文武
Subject: Re: [bug]: xfce4: xfpm-power-backlight-helper alway let me input password.
Date: Tue, 22 Feb 2022 15:04:22 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]