Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.

share|improve this question
2  
Are you sure it actually starts at boot, rather than at desktop login? My synergys (server rather than client) process is started by a .desktop file in $HOME/.config/autostart. –  OrbWeaver Jul 7 '11 at 9:37
    
On my linux synergyc owner is root so i think is started at boot. I'm logged as another user and ~/.config/ have nothing related to this process :( –  marioosh Jul 7 '11 at 13:34
add comment

3 Answers

Look in /etc/rc.d/* for it..

Also check /etc/rc.local

You could also just add a line to /etc/rc.local, like "killall synergyc" - though if that's called too soon, then it won't help - so you could write a cron script for that. Yeah, it's kinda messy.

share|improve this answer
    
Thanks for reply, but nothing like /etc/rc.d/ or /etc/rc.local exists on Gentoo Linux. Gentoo Linux instead has /etc/conf.d/local.start, but is empty right now. –  marioosh Jul 11 '11 at 5:41
add comment

Some ideas:

  • Check if it has a parent PID that is still alive
  • Temporarily replace synergyc by a shell script that prints information about the parent process to a file, to find the parent process.
  • udev/hotplug scripts may start processes
  • Maybe it added a line to /etc/inittab
  • Do you use a display manager? It may be started from there.
share|improve this answer
    
parent PID is 1 - init process; grep -R synergyc /etc/udev/ return nothing; nothing related to synergyc in /etc/inittab; I'm using xdm display manager, but grep -R synergyc /etc/X11/ or grep -R synergyc /etc/X11/xdm/ return nothing too. –  marioosh Jul 11 '11 at 5:49
add comment

It's really strange that synergyc is owned by root, you'd better start it in your user session.

Check this guide about synergy autostart, there are examples of startup configurations for several desktop managers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.