Re: gnome keyring daemon from cron job

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/20/2009 09:20 PM, Christoph Höger wrote:
Am Montag, den 20.04.2009, 15:07 -0400 schrieb Colin Walters:
2009/4/20 Christoph Höger<choeger@xxxxxxxxxxxxxxx>:
I could fix that by adding DBUS_SESSION_BUS_ADDRESS=autolaunch: to the
cron job. That made gnomekeyring reachable again.
If you have an existing desktop session though that will cause things
to break most likely though, since you can now get two
gnome-keyring-daemon instances both of which are accessing the single
keyring file.  If you're not logged in though that works.

Uh? I thought that would launch a new dbus, if none is running. After ~
20 cron jobs running with that setting I have only one dbus-daemon and
on gnomekeyring-daemon running.

Aside from patching cron we should really ship a "ck-run-in-desktop"
command with ConsoleKit, it wouldn't be difficult to write.

Yepp, definetely.
But that does not help a lot since the program simply fails if there is
no gnome running ;)
My current problem is, that the cronjob used to know
DBUS_SESSION_BUS_ADDRESS in earlier releases.


Cron didn't check for this particular environment variable. It's only save the user's environment and run job with saved setting. I didn't change anything what should break previous behaviour, so the changes would be elsewhere.

--
Marcela Mašláňová
BaseOS team Brno

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux