gnome keyring daemon from cron job

Christoph Höger choeger at cs.tu-berlin.de
Mon Apr 20 18:31:28 UTC 2009


Am Montag, den 20.04.2009, 13:08 -0400 schrieb Colin Walters:
> 2009/4/20 Christoph Höger <choeger at cs.tu-berlin.de>:
> > Ok, it seems that DBUS_SESSION_BUS_ADRESS is not set.
> >
> > What has changed between the releases?
> >
> > (and does anyone have _any_ ideas how to fix that?)
> 
> Basically cron has never been integrated with desktop infrastructure.
> I'm not sure exactly why gnome-keyring worked before.
> 
> I think the most practical fix would be a cron patch that talks to
> ConsoleKit (if available) to determine if there's a current login
> session, and if there is, it reuses the infrastructure (X server,
> dbus-daemon, etc).  If there is no login session, it spawns a bus (and
> possibly a dummy vfb X server) for it.


Hmm,

I could fix that by adding DBUS_SESSION_BUS_ADDRESS=autolaunch: to the
cron job. That made gnomekeyring reachable again.

Is there something wrong with .dbus/session/* stuff?

regards

christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090420/827e7a38/attachment.sig>


More information about the fedora-devel-list mailing list