How can I run Synergy from the command line?
Help & Troubleshooting
This is for more advanced users.
Running Synergy 1 from the command line can be useful in enterprise environments where you want to configure the software for an end-user via a text file.
- You will need to create a text config file for the server. This file is actually the same file that is generated by the UI, but writing this file manually gives you more power and flexibility (for instance you can add an unlimited amount of computers). The client doesn't need a text config file as everything is specified on the command line.
- Run from the command line for both the server and the client. This will load in the text file that you just wrote, and assuming there are no errors in the config, you should be all set. While testing your config, make sure you use the `-f` argument on `synergys` (the server) and `synergyc` (the client). This will allow you to see any errors in the log.
Talk to a human
If this article didn't help, you can talk to someone on our support team (unless we sent you here, in which case please reply via the ticket you already have open).