]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Bug#32084
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 8 Jul 2018 11:02:19 +0000 (13:02 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 8 Jul 2018 11:02:19 +0000 (13:02 +0200)
* test/lisp/net/dbus-tests.el (dbus-test02-register-service-own-bus):
Unset $DISPLAY when calling dbus-launch, in order to avoid
possible X11 authentication errors.  (Bug#32084)

test/lisp/net/dbus-tests.el

index 624d15ef5f1d07987453209a8e7010c0f449db1b..8fcb8a564bb8a537f2906ac3dd74df7b52ab0c60 100644 (file)
@@ -133,7 +133,8 @@ This includes initialization and closing the bus."
   ;; Start bus.
   (let ((output
         (ignore-errors
-          (shell-command-to-string "dbus-launch --sh-syntax")))
+          (shell-command-to-string
+            "env DISPLAY= dbus-launch --sh-syntax --close-stderr")))
        bus pid)
     (skip-unless (stringp output))
     (when (string-match "DBUS_SESSION_BUS_ADDRESS='\\(.+\\)';" output)