Starting synergy automatically on RHEL/CentOS
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2009-07-21T15:00:59Z
Indexed on
2010/06/07
17:02 UTC
Read the original article
Hit count: 277
I have a Red Had Enterprise Linux 5 and a CentOS 5 box, both of which I am trying to configure to automatically connect to a synergy server on startup. I have followed the guide at http://synergy2.sourceforge.net/autostart.html and configured them the same way I configured previous Ubuntu 7.10 boxes, and this only seems to get me half way there. Currently, synergy connects at the login screen, but once I login, it doesn't come back up.
I added the following lines to /etc/gdm/{Init,PostLogin,PreSession}/Default :
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc fried-chicken # Init,PreSession only
All files are owned by root:root with 755 permissions, I'm just not sure what I'm missing here.
© Stack Overflow or respective owner