D-Bus User Bus

Colin Walters walters at verbum.org
Wed May 19 10:50:57 PDT 2010


2010/5/17 Havoc Pennington <hp at pobox.com>:
>
> The longstanding issue with a user bus is that it doesn't really solve
> anything,

It makes things work for people who want to use cron to schedule jobs
that need to access e.g. gnome-keyring.  (Though really, we should
also have DISPLAY set).  Also logging in via ssh.

> An alternative could be a user-scoped system bus feature, perhaps.
> Allow activating stuff on system bus that would be run as the user and
> have the uid in the bus name. Per-user system bus services.

Ah...this would require a lot of code changes.  For the keying+cron
example above, both gnome-keyring would have to be changed to
explicitly be a system-user service, and clients would have to be
updated to look for org.gnome.Keyring.Uid500 etc.


More information about the dbus mailing list