On Tue, May 19, 2009 at 05:52:55PM -0700, Elizabeth Cortell wrote:
> The Subversion 1.6.2 client compiled with --with-ssl and
> --with-gnome-keyring gives this error with I try to commit outside of
> the context of an X session (e.g. a terminal session after ssh'ing
> in):
>
> ** (process:30997): WARNING **: couldn't connect to dbus session bus:
> dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11
> initialization failed.
>
> Has anyone encountered this problem? Can anyone propose a workaround
> for non-X GNOME keyring usage?
I guess(!) that you will need to run both a system and a session
dbus daemon on the machine you're trying to use gnome-keyring on,
even if you're not running X11.
Depending on your system, there should be an init script called
"dbus", "dbus-system" or something like that that runs dbus-daemon
with the --system argument.
Once the system daemon is running, you may also need to launch a
session dbus-daemon (--session). This can be done in a number of ways,
one of which is running the command:
eval `dbus-launch --exit-with-session`
in the shell you are using on the machine you're trying to use
gnome-keyring on. See the dbus-launch man page for more options.
Hope this helps,
Stefan
Received on 2009-05-20 12:42:49 CEST