Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: d33ma on 14 February 2023, 21:00:52

Title: CoreCtrl still asks my password
Post by: d33ma on 14 February 2023, 21:00:52
I installed corectrl from sources (https://gitlab.com/corectrl/corectrl/-/wikis/Installation#build) and the problem is that it still asks me for a password to run even though I added polkit rules (https://gitlab.com/corectrl/corectrl/-/wikis/Setup#dont-ask-for-user-password).
Before that, I installed corectrl-git from the AUR. Earlier I made my iso without the Artix themes because I just don't like them and it didn't run Calamares with polkit.
Code: [Select]
pacman -R artix-backgrounds artix-branding-base artix-dark-theme artix-desktop-presets artix-gtk-presets artix-qt-presets mate-icon-theme-faenza xcursor-premium
I think this command broke iso and polkit in general. Or is the problem somewhere else?
Title: Re: CoreCtrl still asks my password
Post by: nous on 15 February 2023, 14:18:28
The (weird) issue with calamares and polkit has been fixed in latest weeklies. I didn't have much time to investigate, but it seems polkit in our live ISOs doesn't honor /etc/polkit-1/rules.d, only the ones under /usr/share/polkit-1/rules.d; no such issue in my installed systems. So, if you're baking your own ISO, move 90-live.rules and your corectl ones to the latter.
The packages you mentioned are branding and cosmetic, have nothing to do with polkit.
Title: Re: CoreCtrl still asks my password
Post by: d33ma on 16 February 2023, 15:16:04
Thank you! Now it works.
Quote
So, if you're baking your own ISO, move 90-live.rules and your corectl ones to the latter.
Where and how exactly should I move 90-live.rules in my own iso?
And when I start Calamares, in addition to asking for the PolKit password, a window appears with the text.
(https://i.imgur.com/8hcHLzN.png)
It seems that I saw somewhere a file that makes Calamares executable (I don’t remember where and which one) and therefore I thought that by deleting packages with Artix themes I break the installer with this.
Title: Re: CoreCtrl still asks my password
Post by: nous on 16 February 2023, 22:31:25
/usr/share/polkit-1/ruled.d