Synergy

Aus UUGRN
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

synergy: erste Schritte

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). Redirecting the mouse and keyboard is as simple as moving the mouse off the edge of your screen. Synergy also merges the clipboards of all the systems into one, allowing cut-and-paste between systems. Furthermore, it synchronizes screen savers so they all start and stop together and, if screen locking is enabled, only one screen requires a password to unlock them all.[1]

Download

http://synergy2.sourceforge.net 
apt-get install synergy (quicksynergy)
http://sourceforge.net/project/showfiles.php?group_id=59275&package_id=58013

Config-Datei auf "Server"

section: screens
 g5:
 expresso:
end
section: links
 g5:
  right = expresso 
 expresso:
  left  = g5 
end

Startup auf Server

synergys -f --config synergy.conf   #für einen temporären Test.

Nach dem Test sollte man folgendes in seine .xinitrc oder .xsession auf dem Server aufnehmen:

synergys --daemon --config synergy.conf


Startup auf Client

synergyc -f $server

Nach dem Test kann man das -f rausnehmen und den Eintrag in die .xsession oder .xinitrc aufnehmen...

groessere Config-Datei auf "Server"

section: screens
 g5:
 expresso:
 imac:
 thinkpad:
end
section: links
 g5:
  right = expresso 
  right = imac
  up = thinkpad
 expresso:
  left = g5
  left = imac
  up = thinkpad
 imac:
  left = g5 
  right = expresso 
  up = thinkpad 
 thinkpad:
  down = g5 
  down = imac 
  down = expresso 
end

SSH

Wenn der Server und der Client laufen macht es Sinn das Protokoll über SSH zu verschlüsseln.

(von einem installierten ssh-client gehe ich aus. Unter Windows tut Putty das schon richten...)

ssh -f -N -L 24800:server-hostname:24800 server-hostname #auf den Clients

nach einem beherzten:

synergyc -f localhost #Localhost ist nicht verschrieben... 

wird alles verschluesselt an den Server uebertragen :-)

Nachweise