[Solved] GDBus, Error

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[Solved] GDBus, Error

Postby Kadmus » Feb 19th, '16, 21:20

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
Last edited by Kadmus on Feb 21st, '16, 21:31, edited 1 time in total.
Kadmus
 
Posts: 40
Joined: Nov 11th, '13, 22:37

Re: GDBus, Error

Postby doktor5000 » Feb 20th, '16, 13:56

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"
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: GDBus, Error

Postby Kadmus » Feb 21st, '16, 08:30

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 ~]$"
Last edited by isadora on Feb 21st, '16, 09:27, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
Kadmus
 
Posts: 40
Joined: Nov 11th, '13, 22:37

Re: GDBus, Error

Postby doktor5000 » Feb 21st, '16, 12:17

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: GDBus, Error

Postby Kadmus » Feb 21st, '16, 18:10

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.
Last edited by doktor5000 on Feb 21st, '16, 21:06, edited 1 time in total.
Reason: added code tags
Kadmus
 
Posts: 40
Joined: Nov 11th, '13, 22:37

Re: GDBus, Error

Postby doktor5000 » Feb 21st, '16, 21:06

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.ogv

Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest