unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10710: 23.4; left-over dbus processes
@ 2012-02-03 15:45 Per Starback
  2012-02-14 21:09 ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: Per Starback @ 2012-02-03 15:45 UTC (permalink / raw)
  To: 10710

In GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.18.9)
Windowing system distributor `Red Hat, Inc.', version 11.0.11004000
configured using `configure  '--prefix' '/local''
(It's CentOS 6.2.)

  $ ssh -Y somehost
  somehost$ emacs -Q --kill
  somehost$ pstree `id -un`
  dbus-daemon---{dbus-daemon}
  
  dbus-launch
  
  gconfd-2
  
  sshd---bash---pstree

So several dbus processes are created and left behind afterwards, which
is inconvenient. I found

  http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg00940.html

which addresses a similar problem (where also dbus processes are created
after ssh + X).





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10710: 23.4; left-over dbus processes
  2012-02-03 15:45 bug#10710: 23.4; left-over dbus processes Per Starback
@ 2012-02-14 21:09 ` Michael Albinus
  2012-02-26  9:33   ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2012-02-14 21:09 UTC (permalink / raw)
  To: Per Starback; +Cc: 10710

starback@stp.lingfil.uu.se (Per Starback) writes:

>   $ ssh -Y somehost
>   somehost$ emacs -Q --kill
>   somehost$ pstree `id -un`
>   dbus-daemon---{dbus-daemon}
>   
>   dbus-launch
>   
>   gconfd-2
>   
>   sshd---bash---pstree

If you analyze further, you'll see:

# ps -eaf | grep dbus-launch
albinus    4821     1  0 21:48 pts/3    00:00:00 dbus-launch --autolaunch 716f0514c3c408105bcdc5494b5c3d04 --binary-syntax --close-stderr

D-Bus is launched via the auto-launch feature of libdbus. This is
activated by default, if $DISPLAY is set. The invocation command as seen
above is hard-coded in dbus-sysdeps-unix.c, we cannot change it
ourselves.

It would be helpful, if the dbus-launch command would be called with the
--exit-with-session argument, but it isn't. I have no idea how to change
this behaviour.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10710: 23.4; left-over dbus processes
  2012-02-14 21:09 ` Michael Albinus
@ 2012-02-26  9:33   ` Chong Yidong
  2012-02-27 12:22     ` Per Starbäck
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2012-02-26  9:33 UTC (permalink / raw)
  To: Michael Albinus; +Cc: Per Starback, 10710

Michael Albinus <michael.albinus@gmx.de> writes:

> D-Bus is launched via the auto-launch feature of libdbus. This is
> activated by default, if $DISPLAY is set. The invocation command as seen
> above is hard-coded in dbus-sysdeps-unix.c, we cannot change it
> ourselves.

Closing this bug, since it doesn't seem to be an Emacs issue.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10710: 23.4; left-over dbus processes
  2012-02-26  9:33   ` Chong Yidong
@ 2012-02-27 12:22     ` Per Starbäck
  2012-02-27 12:45       ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: Per Starbäck @ 2012-02-27 12:22 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Michael Albinus, 10710

> Closing this bug, since it doesn't seem to be an Emacs issue.

It's an issue for Emacs since it means problems for Emacs users.
If there is no workaround for this problem I think "--without-gconf"
should be the default when compiling Emacs. Since font-use-system-font
is nil by default most users won't have use for the gconf support
anyway. (Or is it used for anything else?)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#10710: 23.4; left-over dbus processes
  2012-02-27 12:22     ` Per Starbäck
@ 2012-02-27 12:45       ` Michael Albinus
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Albinus @ 2012-02-27 12:45 UTC (permalink / raw)
  To: Per Starbäck; +Cc: Chong Yidong, 10710

starback@stp.lingfil.uu.se (Per Starbäck) writes:

> It's an issue for Emacs since it means problems for Emacs users.
> If there is no workaround for this problem I think "--without-gconf"
> should be the default when compiling Emacs. Since font-use-system-font
> is nil by default most users won't have use for the gconf support
> anyway. (Or is it used for anything else?)

I don't know whether it is an Emacs issue. Most of the people would
install Emacs as bundled by their preferred GNU/Linux distribution. So
you would need to ask the distributor.

And a distributor could solve it even otherwise, for example providing a
libdbus-1.so compiled with "--enable-x11-autolaunch=no".

Btw, it isn't only Emacs which suffers from this problem. I have
replayed your initial scenario, starting "gedit" instead of "emacs -Q".
Same result.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-27 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 15:45 bug#10710: 23.4; left-over dbus processes Per Starback
2012-02-14 21:09 ` Michael Albinus
2012-02-26  9:33   ` Chong Yidong
2012-02-27 12:22     ` Per Starbäck
2012-02-27 12:45       ` Michael Albinus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).