Do, or do not. There is no ‘try’ |

Archive for December 17th, 2007

Dec/07

17

Synergyc on boot

synergy: [noun] a mutually advantageous conjunction of distinct elements

Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own monitor(s).

Home page

http://synergy2.sourceforge.net/

———————————————————————————————————————————-
Config synergy on debian:

http://synergy2.sourceforge.net/configuration.html

using linux machine as a client machine

apt-get install synergy

start synergy client:

synergyc «synergy server IP here»

on windows machine as a server machine:
Config 1
Debian is my linux machine and it is on the left hand side
Config 2
Wander is my windows machine and it is on the right hand side

Now config Synergy client on boot in Linux machine:

These instructions should work for running the synergy client on your UBUNTU machine to connect to a locally networked computer running the synergy server. (I’ve not actually tried them myself.)
Let us know how you get on.

NOTE:
The «address of server machine»will probably be an ip address that looks something like 192.168.0.1 (DON’T put in the exact string «address of server machine»

To make the client run when gdm runs, but before anyone has logged in:

edit /etc/gdm/Init/Default:

Code:

sudo gedit /etc/gdm/Init/Default

Added the following lines in the middle of the file BEFORE the “sysmodmap=/etc/X11/Xmodmap” line:
Code:

SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC «address of server machine»
fi

The only problem with that is once you log in it kills off the client, so you need to make it start again for you.

edited /etc/gdm/Init/Default:

Code:

sudo gedit /etc/gdm/PreSession/Default

Added the following lines in the middle of the file BEFORE the “XSETROOT=`gdmwhich xsetroot`” line:
Code:

SYNERGYC=`gdmwhich synergyc`
if [ x$SYNERGYC != x ] ; then
$SYNERGYC «address of server machine»
fi

Log out and back in again.

The synergy client should now startup and run whenever your gdm session does.

NOTE:
The «address of server machine»will probably be an ip address that looks something like 192.168.0.1 (DON’T put in the exact string «address of server machine»)

Source from: http://ubuntuforums.org/showthread.php?t=48196

No tags

Designed by devolux