Bug 33015

Summary: polkits should conflict with each other: xfce-polkit & polkit-gnome
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: polkit-gnomeAssignee: Yuri N. Sedunov <aris>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: aris, lav, msp, sem, shaba, shrek
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 33014    

Description Ivan Zakharyaschev 2017-01-19 10:24:22 MSK
+++ This bug was initially created as a clone of Bug #33014 +++

$ rpm -qa '*polkit*'
libpolkit-qt-core-1-0.112.0-alt1
polkit-0.113-alt2
libpolkit-gir-0.113-alt2
polkit-gnome-0.105-alt1
libpolkit-0.113-alt2
xfce-polkit-0.2-alt1
$ 

I have installed polkit-gnome by accident in ALT Education 8 system (with Xfce), and now an error is reported every time I login into Xfce from the dm:

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

I suspect they should conflict with each other. I've found a sismilar discussion here:

https://ask.fedoraproject.org/en/question/24803/gdbuserrororgfreedesktoppolicykit1errorfailed-an-authentication-agent-already-exists-for-the-given-subject/

After removing the package polkit-gnome, this error disappears. After installing it, this error appears again.
Comment 1 Alexey Shabalin 2023-03-31 04:34:23 MSK
А если я хочу иметь сразу несколько DE на компьютере? И xfce, и gnome, и kde?
Каждый использует свой polkit.
Просто объясните DE, что не надо стартовать чужие polkit.