#1 Le 30/11/2009, à 21:54
Problème oblogout
bonjour,
j'ai un probleme avec oblogout qui ne fonctionne pas entièrement.
logout et annuler fonctionne mais pas le reboot et shutdown
ci joint extrait du terminal pour redemarrer
File "/usr/lib/python2.6/dist-packages/oblogout/__init__.py", line 354, in click_button
self.dbus.restart()
File "/usr/lib/python2.6/dist-packages/oblogout/dbushandler.py", line 143, in restart
if not self.__auth_perms("org.freedesktop.hal.power-management.reboot"):
File "/usr/lib/python2.6/dist-packages/oblogout/dbushandler.py", line 99, in __auth_perms
grant = self._authagent.ObtainAuthorization(id, 0, os.getpid(), timeout=300, dbus_interface = "org.freedesktop.PolicyKit.AuthenticationAgent")
File "/usr/lib/python2.6/dist-packages/oblogout/dbushandler.py", line 66, in _authagent
autha = self._sessbus.get_object ("org.freedesktop.PolicyKit.AuthenticationAgent", "/", "org.gnome.PolicyKit.AuthorizationManager.SingleInstance")
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit.AuthenticationAgent was not provided by any .service files
mon install = install ligne de commande ubuntu 9.10
Ubuntu 12.10
Mon blog dédié à Linux, synology, etc http://www.fichard.net
Hors ligne
#3 Le 30/11/2009, à 23:19
Hors ligne
#4 Le 30/11/2009, à 23:29
Re : Problème oblogout
à mon avis il y a une modification à faire dans ce fichier:
/usr/share/dbus-1/interfaces/org.freedesktop.PolicyKit.AuthenticationAgent.xmlEDIT: il y a ça aussi:
/etc/oblogout.conf[settings]
usehal = trueessaye de le passer en false, chez moi je passe par un script maison ![]()
Dernière modification par wido (Le 30/11/2009, à 23:34)
Hors ligne
#5 Le 25/10/2012, à 10:31
Re : Problème oblogout
Merci ! La dernière proposition fonctionne bien ! ![]()
(oblogout toujours en 0.2 fin 2012)
Hors ligne
Pages : 1
- Accueil
- » Forum
- » Autres environnements et personnalisations
- » Problème oblogout