ok, I spoke too soon
I have tried all three of the suggestions in this thread. Synergy still does not start when I boot. I need it to start at boot BEFORE the user login as there is no keyboard and mouse attached to this pc. Both keyboard and mouse commands are handled though Synergy.
This is the script I am using:
Code:
synergyc --name WorkTop 123.45.6.789
And here is the line in /etc/rc.local:
Code:
su -c /home/user1/bash_scripts/start_synergy.bash - user1
When I run 'su -c /home/user1/bash_scripts/start_synergy.bash - user1' from the command line (as root) it works like a charm.
What am I doing wrong? This command depends upon a working network connection. Does this run before the network card is up and running?
##EDIT## The network thing should not be a problem. I have another line in rc.local that uses google-drive-ocamlfuse to connect to my Google Drive folder and it runs without a hitch. So there is SOMETHING about the synergyc command.