From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Emacs insists on starting dbus? Date: Tue, 31 Jul 2012 18:56:43 +0200 Message-ID: References: <20120731.164910.1735362134333062173.hanche@math.ntnu.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343753814 13063 80.91.229.3 (31 Jul 2012 16:56:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jul 2012 16:56:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Harald Hanche-Olsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 31 18:56:54 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SwFkb-0003A0-MR for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 18:56:53 +0200 Original-Received: from localhost ([::1]:36950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFka-0004BH-UK for ged-emacs-devel@m.gmane.org; Tue, 31 Jul 2012 12:56:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFkX-0004Ag-Hp for emacs-devel@gnu.org; Tue, 31 Jul 2012 12:56:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwFkW-0005n1-EM for emacs-devel@gnu.org; Tue, 31 Jul 2012 12:56:49 -0400 Original-Received: from mailout.melmac.se ([62.20.26.67]:47242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwFkW-0005mp-7U for emacs-devel@gnu.org; Tue, 31 Jul 2012 12:56:48 -0400 Original-Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80]) by mailout.melmac.se (Postfix) with ESMTP id 2D6479783 for ; Tue, 31 Jul 2012 18:56:46 +0200 (CEST) Original-Received: (qmail 5001 invoked by uid 89); 31 Jul 2012 16:56:35 -0000 Original-Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain) (boel.djarv@bdtv.se@46.59.42.18) by mail01.melmac.se with ESMTPA; 31 Jul 2012 16:56:35 -0000 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 8B38C7FA06C; Tue, 31 Jul 2012 18:56:45 +0200 (CEST) In-Reply-To: <20120731.164910.1735362134333062173.hanche@math.ntnu.no> X-Mailer: Apple Mail (2.1278) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 62.20.26.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152009 Archived-At: Hello. Add --without-gsettings also. Jan D. 31 jul 2012 kl. 16:49 skrev Harald Hanche-Olsen: > Short version: I built emacs with --without-dbus, > yet when I run emacs -Q, it runs dbus-launch. >=20 > Why? Surely, this is not the way it should be? >=20 > Slightly longer version: I am on Ubuntu, fresh emacs source from > trunk, and ./config.status -V outputs this: > emacs config.status 24.1.50 > configured by ../configure, generated by GNU Autoconf 2.65, > with options "'--without-dbus' = '--prefix=3D/global/work/hanche/pkg/emacs/2012-07-31' '--with-gif=3Dno' = '--with-x-toolkit=3Dlucid'" > And here is what happens: > ; strace -f -e execve /global/work/hanche/pkg/emacs/current/bin/emacs = -Q > Process 31127 attached > [...] > [pid 31127] execve("/usr/bin/dbus-launch", ["dbus-launch", = "--autolaunch", "2873e88d4c5664b2024eb9654eddd59c", "--binary-syntax", = "--close-stderr"], [/* 205 vars */]) =3D 0 > [...] >=20 > A bit of background: This is on a server running as a virtual machine. > I would like to have an emacs daemon running on this server that I can > connect to and use (with x11) when I ssh into the machine. But when I > am done using my emacs windows and have closed them all, ssh still > hangs around when I log out because the dbus process(es) are hanging > onto one or two x11 connections tunneled by ssh. The only workaround I > see is to kill those dbus processes by hand, which is a bother. >=20 > I'd file a bug report, but I wanted to ask here first if this is a bug > or a feature. And if the latter, how do I work around it? >=20 > - Harald