Behold!... My Wiki

Thinkpads, Linux, BSD and other related shiz

Site Tools


Removing polkit password requests after KDE-Plasma login

If after installing FreeBSD and KDE-Plasma you are greeted with a password request every time you log in to KDE Plasma this may help

First add your user to the 'operator' group To do this you will need root priviliages (or doas/sudo)

 pw groupmod operator -M username 

Then once added create the following file location (again as root/doas/sudo)

 touch /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules 

once created edit the file (again as root)

 ee /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules 

and make it look like this

polkit.addRule(function(action, subject) {
    if (subject.isInGroup("operator")) {
        return polkit.Result.YES;

Save and reboot, on next login there should hopfully be no polkit password requests

Hope this helps

kde-polkit_issue.txt · Last modified: [Saturday 15 May 2021] [18:51] by forge