Author Topic: ( Solved ) GDbus.Error?  (Read 4581 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ( Solved ) GDbus.Error?
« Reply #15 on: December 29, 2011, 03:40:52 PM »
Odd. I have yet to encounter this. ???     

After fixing the error message popup on login, I dug a little further.

[root@AMD64 ~]# rpm -e polkit-gnome
error: Failed dependencies:
   polkit-agent is needed by (installed) GConf2-2.32.2-1pclos2011.i586
[root@AMD64 ~]#
     
 ??? ??? ???     

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: ( Solved ) GDbus.Error?
« Reply #16 on: December 29, 2011, 10:59:53 PM »
Odd. I have yet to encounter this. ???     


After fixing the error message popup on login, I dug a little further.

[root@AMD64 ~]# rpm -e polkit-gnome
error: Failed dependencies:
   polkit-agent is needed by (installed) GConf2-2.32.2-1pclos2011.i586
[root@AMD64 ~]#
     
 ??? ??? ???     

Neal, I guess what I was trying to say is that gconf2 is installed with Openbox WM and one of its dependencies is Gnome policy kit. I'll bet you're running LXDE 64bit. Here's what's odd. The error message that pops up on the 32bit LXDE desktop does not on the 64bit. By all accounts, it should, as shown below.



As you can see here, both Gnome's policy kit and LXDE's are tagged to run at startup. This is what happened on the 32bit installation. Unchecking Gnome's fixed the popup error. What I've yet to figure out is why it doesn't happen on the 64bit installation.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12483
Re: ( Solved ) GDbus.Error?
« Reply #17 on: December 29, 2011, 11:23:20 PM »
Do you think the difference might be related to Gnome 3 for PCLinuxOS 64 and Gnome 2 for PCLinuxOS 32?


Thanks to everyone who donates. You keep the servers running.

Offline Aleph

  • Sr. Member
  • ****
  • Posts: 359
Re: ( Solved ) GDbus.Error?
« Reply #18 on: December 30, 2011, 01:57:01 AM »
Quote
When using bleachbit, you have to set it to save your preferred language. Edit > Preferences > Languages tab.

Hi Neal,

Thanks.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ( Solved ) GDbus.Error?
« Reply #19 on: December 30, 2011, 03:06:14 AM »
Neal, I guess what I was trying to say is that gconf2 is installed with Openbox WM and one of its dependencies is Gnome policy kit. I'll bet you're running LXDE 64bit. Here's what's odd. The error message that pops up on the 32bit LXDE desktop does not on the 64bit. By all accounts, it should, as shown below.
     
I saw the error for the first time this AM. Yes, it was on 32bit. And it occurred on login to root. ::) (was checking something)     

Quote
As you can see here, both Gnome's policy kit and LXDE's are tagged to run at startup. This is what happened on the 32bit installation. Unchecking Gnome's fixed the popup error. What I've yet to figure out is why it doesn't happen on the 64bit installation.
     
Perhaps it is as Tex says.     

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: ( Solved ) GDbus.Error?
« Reply #20 on: December 30, 2011, 08:04:23 PM »
Do you think the difference might be related to Gnome 3 for PCLinuxOS 64 and Gnome 2 for PCLinuxOS 32?



I really don't know. GConf2 (3.2.3-1), libgnome2, lib64gnome2_0 and libgnomeui2 packages are installed. The polkit-gnome version, (0.102-1), is the same version number for 32bit and 64bit. The lib64polkit-gnome0 is obviously different. The main GNOME3 packages seem to be gnome-desktop3, gnome-session-bin and gnome-settings-daemon.

The GConf2 version for 32bit is (2.32.2-1).
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ( Solved ) GDbus.Error?
« Reply #21 on: December 31, 2011, 03:00:58 AM »
Look in /home/<your-username>/.config/autostart for the file polkit-gnome-authentication-agent-1.desktop. Delete this file! The gnome-policy-kit will not try to start up on login after.     

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12483
Re: ( Solved ) GDbus.Error?
« Reply #22 on: December 31, 2011, 05:28:54 AM »
Do you think the difference might be related to Gnome 3 for PCLinuxOS 64 and Gnome 2 for PCLinuxOS 32?



I really don't know. GConf2 (3.2.3-1), libgnome2, lib64gnome2_0 and libgnomeui2 packages are installed. The polkit-gnome version, (0.102-1), is the same version number for 32bit and 64bit. The lib64polkit-gnome0 is obviously different. The main GNOME3 packages seem to be gnome-desktop3, gnome-session-bin and gnome-settings-daemon.

The GConf2 version for 32bit is (2.32.2-1).


The reason it isn't showing up in 64bit is the polkit-gnome-authentication-agent-1.desktop executable line is pointing to the wrong location to start this service. Doesn't matter now as I will remove it from the lxde-common package.

Thanks to everyone who donates. You keep the servers running.

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: ( Solved ) GDbus.Error?
« Reply #23 on: December 31, 2011, 06:33:53 AM »
Look in /home/<your-username>/.config/autostart for the file polkit-gnome-authentication-agent-1.desktop. Delete this file! The gnome-policy-kit will not try to start up on login after.    


This file exists in /usr/share/lxde/polkit : and it is recreated in the home of the user at each new session : I did a series of tests in Virtualbox last night,  and this morning, after turzin told me about the error message yesterday and asked me to test his last version with an update just after install. (He wanted to be sure he didn't mess something while tweaking things). Among other tests I tried to remove this file, reloaded the session, it was here again.

I suggested the simple solution here, deduced from the page at redhat bugzilla, as Texstar and Neal have already seen:
The new lxpolkit package generates an error at login in Lxde (Solution found). If you just leave the lxpolkit.conf do it's job and add the line:

NotShownIn=LXDE;

right at the end of the file /usr/share/lxde/polkit/polkit-gnome-authentication-agent-1.desktop, /home/user/.config/autostart/polkit-gnome-authentication-agent-1.desktop, same under /root, and in /etc/skel, it should solve it for all : the problem has been solved in my Lxde in Vbox. (Rebooted twice since, and the message didn't appear again).

Doesn't matter now as I will remove it from the lxde-common package.


That's the info I was looking for, Thanks !

Happy End of Year ! :D

Mélodie

PS: I wonder if you could rather setup lxpolkit to be a dependency of lxde-common rather than being a dependency of pcmanfm ? How will the system react if someone wants to use pcmanfm in another desktop than Openbox or Lxde ?


« Last Edit: December 31, 2011, 06:42:41 AM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline LKJ

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1952
Re: ( Solved ) GDbus.Error?
« Reply #24 on: December 31, 2011, 01:37:42 PM »
Look in /home/<your-username>/.config/autostart for the file polkit-gnome-authentication-agent-1.desktop. Delete this file! The gnome-policy-kit will not try to start up on login after.     

not to be argumentative but the file with the -1 is in /usr/lib the one without the -1 is in /home/.../.cong/autostart. deleting them works as does unchecking it in session startup.
Good things come in small packages. From small minds, not so much.

All walls by LKJ unless noted.
iMac 2.8 GHz Quad Core i7 12GB

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: ( Solved ) GDbus.Error?
« Reply #25 on: December 31, 2011, 01:44:39 PM »
More than one way to skin a cat. Whoops! Sorry, Texstar.  ;)
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ( Solved ) GDbus.Error?
« Reply #26 on: December 31, 2011, 01:48:02 PM »
Quote from: melodie
I wonder if you could rather setup lxpolkit to be a dependency of lxde-common rather than being a dependency of pcmanfm ? How will the system react if someone wants to use pcmanfm in another desktop than Openbox or Lxde ?
     
I thought you had read what Texstar said. ??? He is updating lxde-common. ::)     

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: ( Solved ) GDbus.Error?
« Reply #27 on: December 31, 2011, 03:37:41 PM »
Quote from: melodie
I wonder if you could rather setup lxpolkit to be a dependency of lxde-common rather than being a dependency of pcmanfm ? How will the system react if someone wants to use pcmanfm in another desktop than Openbox or Lxde ?
   
I thought you had read what Texstar said. ??? He is updating lxde-common. ::)    

Yes Neal, you read me well. I sayd I have seen what Texstar has written : he is going to update lxde-common, and if I understood correctly he intends to remove gnome-polkit from i lxde-common, which will solve the problem. What I was saying is related to : pcmanfm which has now lxpolkit as a dependency : file manager/authentication agent... couldn't pcmanfm be free from depends else than the ones listed upstream  ? (desktop-file-utils, gtk2, libfm and lxmenu-data).

Else, if someone removes pcmanfm (and lxpolkit along with it) for his LXDE desktop system, for instance to use another file manager, what then will ensure the authentication ? :|

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ( Solved ) GDbus.Error?
« Reply #28 on: December 31, 2011, 05:00:11 PM »
PCManFM is at the heart of LXDE and should not be removed, melodie. Too many things/functions depend on it. If you want to install and use another file manager, you can. If you're talking about remastering PCLinuxOS-LXDE with removing PCManFM, do not do that, or if you do, you will need to call it by another name.     

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: ( Solved ) GDbus.Error?
« Reply #29 on: December 31, 2011, 06:11:55 PM »
PCManFM is at the heart of LXDE and should not be removed, melodie. Too many things/functions depend on it. If you want to install and use another file manager, you can. If you're talking about remastering PCLinuxOS-LXDE with removing PCManFM, do not do that, or if you do, you will need to call it by another name.     

This is neither what I said nor what I was suggesting. I said, if someone does... which is a bit different. Also, think about it : the Lxde suite is supposed to provide most components as individual parts which can be used in other contexts than Lxde itself. Imho, this can lead to think that when a program is originally light, it would be a good thing to avoid adding depends which are not strictly required. Another example, suppose I want to make for myself a super light KDE, with the minimum KDE packages required, and I want to add PCManFM (because I like PCManFM ! Or because I am very much used to it... whatever reason). I am almost sure there is already an authentication system in KDE desktop (I don't know KDE very much... so I can only suppose, for now). What behavior will the desktop have if there is lxpolkit, brought by PCManFM, additionnally to an authentication agent already there ? Probably also error messages ? To end with, the question I wonder : couldn't lxpolkit be just linked to lxde-common and that would be it ?

Happy New Year ! It's very much paste midnight here ! :D


melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode