Solved KDE Plasma bad visual performance and polkit error

I did a
# pkg upgrade
today and in the process a few packages including polkit got upgraded (polkit to 124).
After rebooting I keep getting this error repeatedly in
/var/log/messages
Code:
Jan 23 14:27:12 mypc console-kit-daemon[94016]: CRITICAL: polkit_authority_check_authorization: assertion 'POLKIT_IS_AUTHORITY (authority)' failed

I can login to Plasma but it takes minutes until I get to the desktop. After login visual performance is lagging, pixels are drawn slowly. The effect is not extreme but definitely noticable compared to before. Also my second monitor, which I use in portrait mode, lost its orientation configuration.

I noticed this error appearing as well, don't know if this is a problem.
$ ck-list-sessions
Code:
WARNING **: 15:07:16.860: Failed to get list of sessions for /org/freedesktop/ConsoleKit/seat0: GDBus.Error:org.freedesktop.ConsoleKit.Seat.Error.NoSessions: Seat has no sessions

I tried reinstalling the cached old version of polkit but funny enough this fails. (It seems to be a known bug)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222502

Code:
root@mypc:~ # pkg install /tmp/polkit-123_2~7cbbdcc64a.pkg
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be DOWNGRADED:
    polkit: 124 -> 123_2

Number of packages to be downgraded: 1

Proceed with this action? [y/N]: y
pkg: archive_read_open_filename((null)): Failed to open '(null)'

BTW I went through this already
https://forums.freebsd.org/threads/xfce4-and-mate-desktop-console-kit-policykit-problem.78800

I do have a file
# cat /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules
Code:
polkit.addRule(function(action, subject) {    if (subject.isInGroup("wheel")) {        return polkit.Result.YES;    }});
like documented here
https://community.kde.org/FreeBSD/Setup#Configuring_SDDM

Any ideas?
 
Use polkit 124_1
Thanks. I just looked it up and saw there was a patch even more recently. I'm using packages so I guess I'll have to wait a minute? As I don't see it available yet... (except maybe someone has an answer as to why I get this error trying to install old package versions or knows a workaround for that)
 
Back
Top