Synergy Client Startup on Ubuntu 8.04

by Craig Mayhew on Aug.15, 2008, under Guides/Fixes

To automatically start synergy at the login screen:

Run “sudo vim /etc/gdm/Init/Default” in the command window. This will run the vim text editor to edit the startup script of gdm.

Add the following chunk of text at the beginning of the file. Replace CLIENTNAME AND SERVERIP with your relevant synergy client name and synergy server ip. This loads synergy when kdm is loaded.

# ADDED FOR SYNERGY
/usr/bin/killall synergyc
sleep 1
/usr/bin/synergyc ––daemon ––name CLIENTNAME SERVERIP
# END SYNERGY

To get synergy to start once you have logged in:

In the menu simply goto System Menu->Preferences->Sessions, click the Startup Programs tab, click “Add” then just enter the Startup Command:

synergyc ––daemon ––name CLIENTNAME SERVERIP

:, ,

3 Comments for this entry

  • James

    I think you meant ––daemon and ––name:

    synergyc ––daemon ––name CLIENT SERVER

    Thanks,

    - James

  • James

    It appears that the content management system is dropping duplicate hyphens (probably what happened in the original post as well). My previous comment was intended to indicate that there need to be double hypens (two dashes) before the daemon and name parameters.

    Thanks,

    - James

  • Craig Mayhew

    You are correct. I’ve fixed your comment and my original post, thank you James for pointing this out.

Leave a Reply


In a bid to lower the spam levels on this blog, please type the following captcha code

Visit our friends!

A few highly recommended friends...