#1115933 Error on login: XFCE PolicyKit Agent ... authentication agent already exists

#1115933#5
Date:
2025-09-22 04:15:29 UTC
From:
To:
Dear Maintainer,

I installled xfce4 from an up-to-date unstable without any existing desktop:
$ apt-get --install-recommends install xfce4

I rebooted and logged in to xfce4. Upon login, I was greeted with this error prompt:

"XFCE PolicyKit Agent

GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: An authentication
agent already exists for the given subject"

Looking at the installed packages, both mate-polkit and xfce-polkit were
installed. I purged mate-polkit from the system, and the error message no
longer appears.

This appears related to the recenty closed bug #1090384. From what I can tell,
mate-polkit was added as a recommends, because xfce-polkit was not in testing
due to a release freeze. What I can't understand is how xfce-polkit is
currently getting picked up. I see no reverse-depends on it, even though the
apt-get install of xfce4 absolutely installed it:

$ dpkg -l xfce-polkit
ii  xfce-polkit    0.3+v20220621-2 amd64        Simple PolicyKit authentication agent for Xfce

$ apt-cache rdepends xfce-polkit
xfce-polkit
Reverse Depends: