gnome keyring daemon from cron job

Colin Walters walters at verbum.org
Mon Apr 20 17:08:46 UTC 2009


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.




More information about the devel mailing list