Subject: Re: bug#12112: 24.1.50; Starting emacs without dbus
From: Michael Albinus <[email-masked]>
To: Harald Hanche-Olsen <[email-masked]>
Cc: [email-masked]
Date: Fri, 24 Aug 2012 15:08:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Harald Hanche-Olsen <[email-masked]> writes:

> Yet another possibility: A special startup flag to stop emacs from
> launching dbus, perhaps by unsetting DISPLAY in its own environment
> during startup, then resetting it after all the code that might
> conceivably launch dbus has run. (This may not be practical.)

Finally, it is sufficient to set DBUS_SESSION_BUS_ADDRESS to a syntactic
correct, but invalid address. Call Emacs like

# env DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/foo emacs

I have documented this in the Emacs manual, node Emacs Invocation >
Environment > General Variables. I'm closing this bug.

> - Harald

Best regards, Michael.