Q. Why do so many processes owned by me have PPID=1?

Scott James Remnant scott at ubuntu.com
Wed Oct 3 15:48:30 UTC 2007


On Fri, 2007-09-28 at 18:21 -0400, wtautz wrote:

> Hi, Just wondering if someone could explain the mechanism of gnome desktop
> with respect to processes.
> 
> In particular gnome-terminal has PPID=1
> 
PPID=1 means that the process's parent has died, usually because the
process has become a daemon.

This does make a kooky degree of sense; processes like GNOME Terminal
might be launched by either your Window Manager (keyboard shortcut), the
Panel (launcher) or even your File Manager (action menu).

It would be even stranger to see:

 gnome-session
  +- compiz
  |   +- epiphany-browser
  |   +- gnome-terminal
  +- gnome-panel
  |   +- deskbar
  |       +- evolution
  |   +- pidgin
  +- nautilus
      +- openoffice.org

Since the location of the process now depends on exactly how you
launched it!  And this prevents you from restarting your window manager
(e.g. disabling desktop effects), or panel, etc.

Scott
-- 
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20071003/64689952/attachment.sig>


More information about the Ubuntu-devel-discuss mailing list