[Solved] GDBus, Error

Posted:
Feb 19th, '16, 21:20
by Kadmus
Hey,
I had to reinstall my Mageia and now whenever I reboot, I see this warning:
"GdBus, Error.org. Freedesktop, Policykit1 Error Failed. An Authentification agent already exists for the subject"
Where would I go to turn this warning off, since it is not needed or is it?
Kadmus
Re: GDBus, Error

Posted:
Feb 20th, '16, 13:56
by doktor5000
You see this warning where and when exactly? On your desktop in a window, or in the messages shown on tty during shutdown, or during bootup afterwards?
Please also show the output of
- Code: Select all
journalctl -ab| grep -iE "gdbus|Policykit"
ps -ef|grep -v grep|grep -iE "polkit|policykit"
Re: GDBus, Error

Posted:
Feb 21st, '16, 08:30
by Kadmus
The warning shows up right after I log into Mageia, on the desktop.
Here is what I got using the commands you gave me.
- Code: Select all
"[billm48@localhost ~]$ journalctl -ab| grep -iE "gdbus|Policykit"
[billm48@localhost ~]$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 2294 1 0 23:13 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
billm48 2411 2229 0 23:13 ? 00:00:00 /usr/libexec/polkit-mate-authentication-agent-1
billm48 2429 2229 0 23:13 ? 00:00:00 lxpolkit
[billm48@localhost ~]$"
Re: GDBus, Error

Posted:
Feb 21st, '16, 12:17
by doktor5000
Kadmus wrote:billm48 2411 2229 0 23:13 ? 00:00:00 /usr/libexec/polkit-mate-authentication-agent-1
billm48 2429 2229 0 23:13 ? 00:00:00 lxpolkit
Okay, so there are two polkit agents running, this explains it. Please edit /etc/xdg/autostart/lxpolkit.desktop and replace the line
- Code: Select all
NotShowIn=GNOME;KDE;MATE;XFCE;OPENBOX;Old;
with
- Code: Select all
OnlyShowIn=LXDE;
Should be possible to do it directly via
- Code: Select all
sed -i.orig 's|^NotShowIn=.*|OnlyShowIn=LXDE;|g' /etc/xdg/autostart/lxpolkit.desktop
FWIW, this was already reported as
https://bugs.mageia.org/show_bug.cgi?id=16597 and already fixed for cauldron.
Re: GDBus, Error

Posted:
Feb 21st, '16, 18:10
by Kadmus
doktor5000;
The first time I used:
- Code: Select all
sed -i.orig 's|^NotShowIn=.*|OnlyShowIn=LXDE;|g' /etc/xdg/autostart/lxpolkit.desktop
I was denied permission. I then entered
'su' and my root password followed by;
- Code: Select all
sed -i.orig 's|^NotShowIn=.*|OnlyShowIn=LXDE;|g' /etc/xdg/autostart/lxpolkit.desktop
Then rebooted and no more GDBus error. Thanks for the help.
Re: GDBus, Error

Posted:
Feb 21st, '16, 21:06
by doktor5000
Sorry, forgot to mention that you need to run this as root.
And next time please use code tags as explained in
ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogvPlease mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks