How to auto-start synergyc in Fedora / CentOS / RHEL Linux
By Angsuman Chakraborty, Gaea News NetworkMonday, September 14, 2009
You may find several instructions to autostart synergyc during login and after login. I had a hard time using them. Additionally I found the instructions to be redundant and based on incomplete inderstanding of how gdm works. The following is the simplest set of instructions you can find anywhere to autostart synergyc on Fedora / CentOS / RHEL etc.
Login as root or su (you can also use sudo, if configured) for the running the following instructions
Edit /etc/gdm/Init/Default and add the following lines at the very end but before exit 0 line:
- /usr/bin/synergyc server-host-name
Now add the following to the very top (after the #!/bin/sh line) of the /etc/gdm/PreSession/Default file:
- /usr/bin/synergyc server-host-name
Now reboot and enjoy!
Notes:
- This process of autostarting synergyc has been tested on CentOS, RHEL and Fedora systems only.
- The code for PostSession/Default has been eliminated as redundant. Also you don’t need to add a kill at the very beginning.
- server-host-name is the host name of the server where synergys is running.
- You need to setup and use a dns to use host-name. Otherwise use ip address.
- Your client machine needs to have a host-name setup for synergys to honor the request to connect to it.
November 14, 2009: 2:06 am
In recent version of Cent OS, it may not work as desired. The solution is to place create a synergyc.desktop file in /usr/share/gnome/autostart folder. The format is: [Desktop Entry] Name=No name Encoding=UTF-8 Version=1.0 Exec=synergyc ip.addr.e.ss |
zenon |
angsuman