![]() Once this was complete I ran the following command to ensure that it would run with everything else. It’s a little dodgy, but it gets the basic job done. Once this file has been created, set the permissions on it so that it can be executed correctly. Su pi -c './synergyc -daemon -name Pi -restart 192.168.0.1'Įcho "Usage: /etc/init.d/synergy (start/stop)" In order to get Synergy to automatically start up I’ve made the file /etc/init.d/synergy which contains the content below. Making Synergy start automatically on boot synergyc -help to get information on the options you can run. ![]() In this case this is the IP of my primary desktop as this is already running Synergy as a server. That’s it, Synergy is running as a daemon in the background as a client, it is named “Pi”, it will automatically restart if it crashes for what ever reason and it will connect to the IP specified. To do this I just executed the synergyc file in /bin with the following command./synergyc -daemon -name Pi -restart 192.168.0.1 The important files that you would want to run to either set Synergy up as a client or server are located in /bin within your installation directory, you will have files synergyc for running a client instance, and synergys for the server. This took quite a while to complete on the Raspberry Pi, however it completed for me with no errors. Build files have been written to: /home/pi/synergy-1.4.10-SourceĪlmost at the end now, the configure script completed without any issues so let’s run make. This is another easy one to fix, simply install the libxtst package and then run configure again. mv CMakeCache.txt OldCache.txtĬMake Error at CMakeLists.txt:222 (message): configure it had created a cached file in CMakeCache.txt, so I tried simply renaming this and then running configure again which worked. I noticed that in the same directory the last time I ran. configure at this point, I was still getting the exact same error which seemed strange. Since originally writing this guide, I have not needed to do this with the current bersions of Synergy and Raspbian so you may not encounter this any more. txt file with your favourite text editor and remove the “local/” part of the path and then save the file. You can see here that the path defined is /usr/local/include/ however our X11 contents have been placed into /usr/include/ – as is explained in the commented out line. Message(FATAL_ERROR "Missing header: " $:/usr/local/include") ![]() Hmm, still erroring so let’s take a look at line 196 of this CMakeLists.txt file and see what it’s after. This is saying that we are missing some header files that are required for Synergy, so I install the necessary package and try configure again. Configuring incomplete, errors occurred! configure: line 1: cmake: command not foundĪlright so cmake is installed and ready to go, time to try the configure script again./configureĬMake Error at CMakeLists.txt:196 (message): There is a configure script in this directory, so I attempted to run that only to find that cmake was not installed, so with a quick apt-get install cmake I was ready to continue./configure My Raspberry Pi is running the Raspbeian OS and this is more or less Debian wheezy.įirst off I downloaded the current version of Synergy using wget on the Raspberry Pi from the Synergy downloads page and then extracted the tar file. While Synergy provides various packages ready to install on all sorts of operating systems, it does not appear that there was anything available for the ARM architecture which meant I’ve compiled and installed Synergy on my Raspberry Pi from the source code provided. Compiling Synergy on the Raspberry Pi – ARM architecture ![]() If you’re interested in the Raspberry Pi you can look at various kits available here on Amazon, they are useful as they come with loads of accessories so you don’t have to try and buy all of the bits and pieces from all over the place. The Synergy server is sitting there listening for connections on my local network, and once the Synergy client is up and running on the Raspberry Pi the connection will be established and I’ll be able to use the keyboard and mouse on my desktop to access the Raspberry Pi. I will be running Synergy in this example as a client, as I have the server instance installed and running on my primary desktop computer. As I had a few problems along the way to solve I figured this post would be useful for people going through the same process. I’ve previously used Synergy on x86_64 based operating systems without problems, but never on ARM – which involved compiling Synergy from source. Synergy is a program which you can use to essentially connect two computers together so that you can interact with both using just one keyboard and mouse. Recently I set up my Raspberry Pi and the first thing I wanted to do to make it usable was to get Synergy working. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |