From 816824953c91959c23a57c047bdba6a902ffdde6 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 30 Jun 2015 12:41:29 -0400 Subject: [PATCH] Pass DBUS_SESSION_BUS_ADDRESS for gnome3 * common/session-env.c (stdenvnames): Add DBUS_SESSION_BUS_ADDRESS. -- pinentry-gnome3 talks to the gcr prompter via dbus. Without this environment variable, it can't find the correct session to talk to. --- common/session-env.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/session-env.c b/common/session-env.c index c0500ea0b..171bf8f34 100644 --- a/common/session-env.c +++ b/common/session-env.c @@ -72,6 +72,8 @@ static struct modules (eg "@im=SCIM"). */ { "GTK_IM_MODULE" }, /* Used by gtk to select gtk input modules (eg "scim-bridge"). */ + { "DBUS_SESSION_BUS_ADDRESS" },/* Used by GNOME3 to talk to gcr over + dbus */ { "QT_IM_MODULE" }, /* Used by Qt to select qt input modules (eg "xim"). */ { "INSIDE_EMACS" }, /* Set by Emacs before running a