I installed Google Desktop for Linux and want to prevent it from running without necessarily deleting all its files. I managed to find and disable the file in /etc/cron.hourly, but gdl_box is still being launched by process 1:
1 5199 5199 5199 ? -1 Ss 32074 0:01 /opt/google/desktop/bin/gdl_box I've grepped for gdl in every file under /etc and have turned up no suspects. There doesn't seem to be anything in /etc/init.d or in the /etc/rc*.d directories. How can I find and slay this evil daemon? More exactly, how can I find out what is causing it to be spawned and prevent it from ever spawning in the first place?
I have killed the gdl_box over and over, but without a reboot or an X restart, something in the system keeps respawning it. I would like to find out what and stop it.
EDIT
OK, eventually I replaced gdl_box with a binary that ran ps afwj so I could tell who launched it before it got adopted by init. Imagine my embarrassment when I discovered it was launched from my .profile. I still would love to know a better way to have discovered this, but I've accepted the answer which pointed out the adoption by init (thanks Thomas) which at least stopped me looking under the wrong lamppost.