Start synergy with GDM on Ubuntu
If you have a linux Synergy client connecting to a Synergy server on another machine, you’ll want the client to start up with GDM so that you can access the mouse and keyboard to log in. Here’s how to make it happen on Ubuntu (should work on other distros):
sudo gedit /etc/gdm/Init/Default #Synergy - place this line somewhere before the "sysmodmap=/etc/X11/Xmodmap" line /usr/bin/synergyc serverComputerHostname
Where serverComputerHostname is the host name or IP of the Synergy server. Also edit this file:
sudo gedit /etc/gdm/PreSession/Default #Synergy - place this line somewhere before the "XSETROOT=`gdmwhich xsetroot`" line /usr/bin/synergyc serverComputerHostname
Logout and log back in to GDM — now you should be able to disconnect the keyboard and mouse on your client and run it strictly from the server.
Picked this up from a helpful post at the Ubuntu forums. Just reiterating, partly as a permanent note to myself.
[…] Update: this might also be of use- Start Synergy with GDM on Ubuntu […]
Pingback by Apologia » Install latest Synergy on Ubuntu - Phil Crosby May 9, 2006 at about 9:18 pm
with these config changes, gdm just hangs with a black screen and loading cursor for me
Said by chris August 20, 2006 at about 8:47 pm
If, like me, you forgot to do this before disconnecting your keyboard and mouse, and you have SSH access to your box, you can edit the two config files from the command line by substituting “nano” for “gedit”, and then restart GDM by typing “sudo /etc/init.d/gdm restart”.
Said by Chris Barnes September 11, 2006 at about 1:47 pm
[…] I was looking for a way to auto start Synergy when my Ubuntu boxes started up. I came across this article over EightPence. It works perfectly. […]
Pingback by Start synergy with GDM on Ubuntu - Fauxzen.com - The Dinglez May 18, 2007 at about 2:10 pm
Ohh it works! and i only had to check your site! im so glad!
Thanks
Said by DeSkiCiO May 24, 2007 at about 1:13 pm
Hey thanks for the Info and it works great!
Said by K2Chris1983 September 28, 2007 at about 7:04 pm
Nice one, dude. Worked like a charm for me. Thanks. :>
Said by Me September 29, 2007 at about 10:16 pm
This is absolutely great info, worked right away for me. I was working on this setup all morning and it finally works thanks to you. glad there are still people in the world that help out the general population. Thanks again.
Said by Mike October 1, 2007 at about 12:00 pm
For those stuck with a black screen and loading cursor in Gutsy, follow this post:
http://ubuntuforums.org/showpost.php?p=970564&postcount=5
Worked perfectly for me.
Said by Scott January 5, 2008 at about 4:17 pm
It just works, thanks man, you’re awesome.
Said by Daniel March 17, 2008 at about 8:03 am
works awesome!
Said by ashutosh May 10, 2008 at about 5:23 am
bd298dae351abf2600276ccc1da0f864
http://njdokj.info/8819ad59a3c32de524f468565416ca60/bd298dae351abf2600276ccc1da0f864
http://njdokj.info/8819ad59a3c32de524f468565416ca60/bd298dae351abf2600276ccc1da0f864
[url]http://njdokj.info/8819ad59a3c32de524f468565416ca60/bd298dae351abf2600276ccc1da0f864[url]
Said by Wilfredo July 4, 2008 at about 5:26 pm