all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: michael.albinus@gmx.de
Cc: emacs-devel@gnu.org
Subject: Re: Emacs insists on starting dbus?
Date: Tue, 31 Jul 2012 20:16:44 +0200 (CEST)	[thread overview]
Message-ID: <20120731.201644.1788057786581516405.hanche@math.ntnu.no> (raw)
In-Reply-To: <871ujr2536.fsf@gmx.de>

[Michael Albinus <michael.albinus@gmx.de> (2012-07-31 17:49:49 UTC)]

> Since you have disabled dbus by configure option, dbusbind.c shouldn't
> be linked with the emacs binary.

Okay. Not sure how to make sure it didn't ... I am not too familiar
with gnu/linux, coming from the freebsd world myself.

> You might try to find which processes on the remote host run under D-Bus
> control, started by emacs. Something like this:
> 
> # sudo grep -l DBUS_SESSION_BUS_ADDRESS /proc/*/environ
> # ps -p <pid>     ### for all returned pid's

I find /usr/lib/libgconf2-4/gconfd-2 (plus a bunch of processes owned
by other users on the server).

> It isn't a feature. But it looks like a side-effect of a third party
> library linked with emacs. I see the following options to handle:
> 
> - If we know which service(s) autostart D-Bus, we might find a way to
>   suppress them.

So gconf(d) looks like a prime suspect?

> - The default way to suppress autostart is configuring D-Bus sources
>   with --disable-x11-autolaunch before compilation. But I guess you
>   don't compile D-Bus yourself, it isn't a real option, therefore.

You're right about that one.

> - You could try to start emacs remotely with an invalid address, like
> 
>   env DBUS_SESSION_BUS_ADDRESS="invalid address" emacs --daemon ...
> 
>   According to the spec, autolaunch is activated only when
>   $DBUS_SESSION_BUS_ADDRESS is unset. Maybe dbus-launch returns an error
>   then, which is ignored. Not very elegant, but maybe working.

Didn't change anything.

- Harald



  reply	other threads:[~2012-07-31 18:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 14:49 Emacs insists on starting dbus? Harald Hanche-Olsen
2012-07-31 16:56 ` Jan Djärv
2012-07-31 17:54   ` Michael Albinus
2012-07-31 18:01     ` Harald Hanche-Olsen
2012-07-31 18:15       ` Ken Brown
2012-07-31 18:32         ` Harald Hanche-Olsen
2012-07-31 18:51           ` Michael Albinus
2012-08-01 13:25           ` Steinar Bang
2012-07-31 18:51     ` Jan Djärv
2012-07-31 19:02       ` Michael Albinus
2012-07-31 20:43         ` Jan Djärv
2012-07-31 21:09           ` Harald Hanche-Olsen
2012-08-01 12:11             ` Michael Albinus
2012-08-01 12:18               ` Harald Hanche-Olsen
2012-08-01 12:23                 ` Michael Albinus
2012-08-01 13:57                   ` Harald Hanche-Olsen
2012-08-01 14:19                     ` Harald Hanche-Olsen
2012-08-01  8:17           ` Michael Albinus
2012-07-31 17:49 ` Michael Albinus
2012-07-31 18:16   ` Harald Hanche-Olsen [this message]
2012-08-01 13:23 ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120731.201644.1788057786581516405.hanche@math.ntnu.no \
    --to=hanche@math.ntnu.no \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.