Package: dbus-x11 Version: 1.5.12-1 Severity: normal Dear Maintainer,
I have been facing problems with DBus on a system running the awesome window manager. I believe other non-Gnome manager are affected too. I wanted to have access to the gnome-keyring in my awesome-wm session. Hence I added "gnome-keyring-daemon --start" to my .xsessionrc. This however did not work (for example subversion would hang while accessing its key) because -apparently- gnome-keyring needs DBus to be running when the "--start" command is executed. Adding gnome-keyring --start to the $STARTUP variable also does not work, because certain application such as ssh-agent mistakenly think that this is a non-gnome-keyring session, and start themselves. The best I could come up with is this patch, which does resolve the issue for me and should not intrude on other window managers. It simply disables dbus- launch if it is already started, e.g. from .xsessionrc. Please consider it for inclusion or inform me if there is a better solution. Regards, Panayiotis -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dbus-x11 depends on: ii dbus 1.5.12-1 ii libc6 2.13-30 ii libx11-6 2:1.4.99.901-2 dbus-x11 recommends no packages. dbus-x11 suggests no packages. -- Configuration Files: /etc/X11/Xsession.d/75dbus_dbus-launch changed [not included] -- no debconf information
--- 75dbus_dbus-launch.orig 2012-07-11 19:28:57.000000000 +0300 +++ 75dbus_dbus-launch 2012-07-11 19:13:29.000000000 +0300 @@ -12,7 +12,7 @@ fi fi -if [ -n "$STARTDBUS" ]; then +if [ -n "$STARTDBUS" -a -z "$DBUS_SESSION_BUS_ADDRESS" ]; then # dbus-launch misbehaves when stdin is a console: # - http://bugs.debian.org/453755 # - https://bugs.freedesktop.org/show_bug.cgi?id=39197