The officially official Devuan Forum!

You are not logged in.

#1 2025-12-23 04:42:43

Eeqmcsq
Member
Registered: 2017-09-19
Posts: 89  

[SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

* Problem

After a fresh Excalibur + Xfce install, when you log into Xfce, you see an error message box:

  Title: "XFCE PolicyKit Agent"
  Message: "GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject"

* Cause

The application auto start list contains both "PolicyKit Authentication Agent for the MATE Desktop" and "XFCE Polkit".

  Applications -> Settings -> Session and Startup -> Application Autostart tab

During Excalibur RC1, I ran several Xfce installations and didn't see any PolicyKit errors on startup. I assume some changes were picked up from Debian since RC1 that caused multiple polkit agents to be installed.

* Workaround

Uncheck one of them. Since this is the Xfce environment, I think unchecking the MATE polkit agent would be better, but otherwise, I don't have any other suggestion for choosing which one to uncheck.

Make sure that you check at least one of them. The polkit agent provides a GUI dialog box for entering your password for running an administrative app. Example: Synaptic Package Manager from the menu, or "pkexec" from the cmd line. If you uncheck both, the default is to request your password from the console output. So if you're starting Synaptic from the menu, nothing will appear to have happened.

* More info

- This problem is already reported in bugs.debian.org.

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

Offline

#2 2025-12-25 17:39:54

rbit
Member
Registered: 2018-06-12
Posts: 101  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

Thank you for the report.  This is a known issue.  After some deliberation, it was decided for the installer iso to keep mate-polkit and remove xfce-polkit in the upcoming 6.1.0 set.  The desktop-live also uses mate-polkit, as does debian trixie (or so I've been told).

Offline

#3 2025-12-29 02:25:02

VH
Member
Registered: 2018-07-31
Posts: 43  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

Hello,

I unchecked  the MATE polkit agent, but it rechecked automatically after some reboots. 

What can I do?

Thanks in advance.

Offline

#4 2025-12-29 03:59:30

RedGreen925
Member
Registered: 2024-12-07
Posts: 268  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

I unchecked  the MATE polkit agent, but it rechecked automatically after some reboots.

What can I do?

Remove the damn thing then it has no chance of starting again.

sudo apt remove --purge mate-polkit

Used in a Terminal to do the actual removal.

Offline

#5 2026-01-02 01:17:45

VH
Member
Registered: 2018-07-31
Posts: 43  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

Thanks.

Offline

#6 2026-01-02 06:11:33

RedGreen925
Member
Registered: 2024-12-07
Posts: 268  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

You are welcome.

Offline

#7 2026-01-05 04:10:49

Eeqmcsq
Member
Registered: 2017-09-19
Posts: 89  

Re: [SOLVED] Excalibur + Xfce + Fresh install: Authentication agent already exists

I did a fresh install of "devuan_excalibur_6.1.0_amd64_netinstall.iso" + Xfce, and confirmed that the error msg no longer occurs.

However, there were two lingering issues:
  - The application auto start list contains both "PolicyKit Authentication Agent for the MATE Desktop" and "XFCE Polkit".
  - Synaptic Package Manager shows that xfce-polkit is NOT installed, which is OK. But it shows "xfce-polkit" under the status of "Not installed (residual config)".

Solution
  sudo apt-get purge xfce-polkit

This successfully removed "XFCE Polkit" from the application auto start list.

Since the original problem was fixed, marking this as solved.

* Test notes, using the 6.1.0 netinstall
  - devuan_excalibur_6.1.0_amd64_netinstall.iso
  * Software selection
    - Devuan desktop environment
    - Xfce
    - SSH server
    - standard system utilities

  + On first login, no errors are displayed.
  ? Strangely, the application auto start list contains both "PolicyKit Authentication Agent for the MATE Desktop" and "XFCE Polkit".
  * Synaptic Package Manager
    + Shows that xfce-polkit is NOT installed. This is the expected result.
    ? However, Synaptic does show "Not installed (residual config)" for xfce-polkit.

  + sudo apt-get purge xfce-polkit
    + Success: "XFCE Polkit" no longer appears in the application auto start list.

Last edited by Eeqmcsq (2026-01-05 04:11:37)

Offline

Board footer