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

2022-02-25 Thread tumashu



















At 2022-02-25 17:09:25, "Zhu Zihao"  wrote:
>
>tumashu  writes:
>
>> i can not run gdm success, but have the problem too when run sddm.
>
>Try put a fontconfig file under /var/lib/sddm/.config/fontconfig/fonts.conf
>
>cat > /var/lib/sddm/.config/fontconfig/fonts.conf << "EOF"
>
>
>
>   /run/current-system/profile/share/fonts/
>
>EOF
>
>And install the fonts in system wide package configuration.
>
>This issue was introduced in the merge of 'core-updates-frozen'. But I
>can't find a proper way to fix this. 


Now I just use slim, for it show English, and no this problem:-)




>
>-- 
>Retrieve my PGP public key:
>
>  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F
>
>Zihao


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

2022-02-25 Thread Zhu Zihao

tumashu  writes:

> i can not run gdm success, but have the problem too when run sddm.

Try put a fontconfig file under /var/lib/sddm/.config/fontconfig/fonts.conf

cat > /var/lib/sddm/.config/fontconfig/fonts.conf << "EOF"



   /run/current-system/profile/share/fonts/

EOF

And install the fonts in system wide package configuration.

This issue was introduced in the merge of 'core-updates-frozen'. But I
can't find a proper way to fix this. 

-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao


signature.asc
Description: PGP signature


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

2022-02-22 Thread tumashu
i can not run gdm success, but have the problem too when run sddm.





--
发自我的网易邮箱手机智能版



- Original Message -
From: "宋文武" 
To: tumashu 
Cc: guix 
Sent: Tue, 22 Feb 2022 15:58:40 +0800
Subject: Re: [bug]: xfce4: xfpm-power-backlight-helper  alway let me input 
password.

tumashu   writes:

>>At 2022-02-22 15:04:22, "宋文武"  wrote:
>>
>>>tumashu  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.
>

The policykit rule only allow "active" session, I guess slim may lack
'elogind-service' support to be an "active" session.

I have 'elogind-service' and use 'sx' to start xfce, no problem here...

My ~/.config/sx/sxrc:

#!/bin/sh
setxkbmap dvorak
xsetroot -solid sienna -cursor_name cross

exec dbus-run-session -- startxfce4



Hope this helps!


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

2022-02-22 Thread tumashu












At 2022-02-22 15:58:40, "宋文武"  wrote:
>tumashu   writes:
>
>>>At 2022-02-22 15:04:22, "宋文武"  wrote:
>>>
tumashu  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.
>>
>
>The policykit rule only allow "active" session, I guess slim may lack
>'elogind-service' support to be an "active" session.
>
>I have 'elogind-service' and use 'sx' to start xfce, no problem here...
>
>My ~/.config/sx/sxrc:
>
>#!/bin/sh
>setxkbmap dvorak
>xsetroot -solid sienna -cursor_name cross
>
>exec dbus-run-session -- startxfce4

OK, I will try gdm today,  the problem gdm is that it can not show Chinese, but 
I have installed a 
Chinese font, I do not know why.

>
>
>
>Hope this helps!


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

2022-02-22 Thread 宋文武
tumashu   writes:

>>At 2022-02-22 15:04:22, "宋文武"  wrote:
>>
>>>tumashu  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.
>

The policykit rule only allow "active" session, I guess slim may lack
'elogind-service' support to be an "active" session.

I have 'elogind-service' and use 'sx' to start xfce, no problem here...

My ~/.config/sx/sxrc:

#!/bin/sh
setxkbmap dvorak
xsetroot -solid sienna -cursor_name cross

exec dbus-run-session -- startxfce4



Hope this helps!



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

2022-02-21 Thread 宋文武
tumashu  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.




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

2022-02-21 Thread tumashu

>At 2022-02-22 15:04:22, "宋文武"  wrote:
>
>>tumashu  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.

>
>
>


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

2022-02-21 Thread tumashu













At 2022-02-22 15:04:22, "宋文武"  wrote:

>tumashu  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.





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

2022-02-21 Thread tumashu
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?


Thanks