• jbuc
  • October 26, 2007

So I had to setup the synergy client to autostart in Ubuntu again today. It’s not a hard process, especially since they have written a page especially dedicated to setting it up. But I stumble over myself every time I have to do it. So, in line with my initial desires with these posts, I’m going to post what I do. This is not a complete tutorial, because I’m not dedicated enough to test beyond my immediate resources, so use judgment. This is also only specific to my scenario (Windows synergy host with ubuntu running the client).

**UPDATE**  - After updating to hardy heron (8.04) it seemed that synergy was running very poorly, choppy, stop/start, losing the cursor, or not working at all sometimes.  After a little searching it seems that the temporary workaround is to run synergy with sudo.  So if you have this problem go back and add “sudo” to the beginning of all the “/usr/bin/synergyc ::your server’s name::” below.

1 - Make sure your host is configured, it’s much easier to run synergy when it knows where your computers are.

2 - from terminal run ->

sudo gedit /etc/gdm/Init/Default

3 - add following to the beginning of the file then save and close ->

/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc ::your server’s name::

4 - from the terminal ->

cd /etc/gdm/PostLogin
sudo mv Default.sample Default
sudo gedit Default

5 - add following to the beginning of the file then save and close ->

/usr/bin/killall synergyc
sleep 1

6 - from the terminal ->

sudo gedit /etc/gdm/PreSession/Default

7 - add following to the beginning of the file then save and close ->

/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc ::your computer name::

8 - from the terminal ->

sudo gedit /etc/gdm/PostSession/Default

9 - add following to the beginning of the file then save and close ->

/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc ::your computer name::

10 - restart and test

booyah.

Comments

3 Responses

  1. Awesome, thanks for this. Differs slightly from the version on Synergy’s site, which didn’t work for me.

    Thanks.

    Bill T. - February 13th, 2008 at 12:55 pm
  2. Thanks,

    Jonix - March 2nd, 2008 at 4:15 pm
  3. POOP

    jbuc - November 4th, 2008 at 3:57 pm

Leave a Reply