Synergy: Difference between revisions
No edit summary |
(tried to make it a bit less first person, added prerequisites) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | Synergy2 is a favorite utility for many. It allows you to use a keyboard and mouse connected to one computer on another computer (or multiple computers) over a network, even if they have different OSs. It also lets you copy and paste text between the computers, which is oh so convenient (and it makes writing this howto a bit quicker than it would be otherwise). It looks and feels like magic when you get it working which isn't hard. |
||
⚫ | |||
⚫ | Synergy2 is |
||
It was pretty easy to get working between the XO and my laptop running Ubuntu. I'm going to describe how to get it working between the XO and a linux based computer, but its also easy to set up with Windows. |
|||
Tutorial is based on linking an XO and a laptop running Ubuntu Linux. It is also easy to set up with Windows. |
|||
⚫ | |||
The first step is to get Synergy installed on the XO and the other computer(s). |
The first step is to get Synergy installed on the XO and the other computer(s). |
||
On the XO: |
|||
⚫ | |||
(start a terminal activity) |
|||
sudo yum install synergy |
sudo yum install synergy |
||
Line 26: | Line 24: | ||
Save and close the file, and then restart the XO, or restart X with a ctr+alt+erase. |
Save and close the file, and then restart the XO, or restart X with a ctr+alt+erase. |
||
On the other computer |
===On the other computer=== |
||
====Ubuntu or Debian==== |
|||
sudo apt-get install synergy |
sudo apt-get install synergy |
||
====other ==== |
|||
If you're on Windows, OS X, or Fedora, you can download the installer: http://sourceforge.net/project/showfiles.php?group_id=59275&package_id=58013 |
If you're on Windows, OS X, or Fedora, you can download the installer: http://sourceforge.net/project/showfiles.php?group_id=59275&package_id=58013 |
||
Configuration |
===Configuration=== |
||
You're probably going to want to configure the computer as the synergy server and the XO as a client. |
You're probably going to want to configure the computer as the synergy server and the XO as a client. |
||
To configure the server, use the instructions here: http://synergy2.sourceforge.net/running.html |
To configure the server, use the instructions here: http://synergy2.sourceforge.net/running.html |
||
For the name of the XO, |
For the name of the XO, you can specify the olpc's hostname(found by typing "hostname" into the terminal) or just use "olpc" and set the name to olpc with the -n switch as seen in the last step. |
||
⚫ | |||
=== Other / Server PC config === |
|||
For reference, here is my ~/.synergy.conf file, where Nemesis is the name of the server computer, and the server is to the right of the XO: |
|||
⚫ | |||
section: screens |
section: screens |
||
Line 56: | Line 56: | ||
synergys |
synergys |
||
On the XO, |
=== On the XO,=== |
||
run: |
|||
synergyc -n olpc <ip address of the other computer> |
synergyc -n olpc <ip address of the other computer> |
||
And you're done! You can add it to the boot scripts on both if you want. |
And you're done! You can add it to the boot scripts on both if you want. |
||
=== to quit === |
|||
If you click the "scroll lock" key your mouse and keyboard will be stuck to the computer you are viewing. simply tap scroll lock again to free the cursor to move between stations, then (if you are running one with a graphical interface you can quit through it) |
|||
Note, this is a way to exit if your cursor is trapped on the client and have a terminal: |
|||
killall synergyc |
|||
===Prerequisites === |
|||
1. A network where the computers can talk directly to each other. (if you are at a cafe with any kind of security that isolates computers you might be able to get your computers to talk through a virtual private network, but that is beyond the scope of this) |
|||
2. if you will be controlling the mouse remotely you must have root/administrator access to the machine to change a setting in a configuration file. (assuming/I hope this is true) |
|||
=== references === |
|||
⚫ | |||
http://synergy2.sourceforge.net/ |
Latest revision as of 16:17, 18 March 2008
Synergy2 is a favorite utility for many. It allows you to use a keyboard and mouse connected to one computer on another computer (or multiple computers) over a network, even if they have different OSs. It also lets you copy and paste text between the computers, which is oh so convenient (and it makes writing this howto a bit quicker than it would be otherwise). It looks and feels like magic when you get it working which isn't hard.
Tutorial is based on linking an XO and a laptop running Ubuntu Linux. It is also easy to set up with Windows.
The first step is to get Synergy installed on the XO and the other computer(s).
XO Installation
(start a terminal activity)
sudo yum install synergy
Then, you need to edit the xorg.conf file. Open it with nano (or your favorite text editor).
sudo nano /etc/X11/xorg.conf
Scroll down to the line that says:
Option "XTEST" "Disable" # Mostly a debugging tool
and change it to
Option "XTEST" "Enable" # Mostly a debugging tool
Save and close the file, and then restart the XO, or restart X with a ctr+alt+erase.
On the other computer
Ubuntu or Debian
sudo apt-get install synergy
other
If you're on Windows, OS X, or Fedora, you can download the installer: http://sourceforge.net/project/showfiles.php?group_id=59275&package_id=58013
Configuration
You're probably going to want to configure the computer as the synergy server and the XO as a client. To configure the server, use the instructions here: http://synergy2.sourceforge.net/running.html For the name of the XO, you can specify the olpc's hostname(found by typing "hostname" into the terminal) or just use "olpc" and set the name to olpc with the -n switch as seen in the last step.
Other / Server PC config
For reference, here is my ~/.synergy.conf file, where Nemesis is the name of the server computer, and the server is to the right of the XO: Code:
section: screens Nemesis: olpc: end section: links Nemesis: left = olpc olpc: right = Nemesis end
Running it
On the server computer, run:
synergys
On the XO,
run:
synergyc -n olpc <ip address of the other computer>
And you're done! You can add it to the boot scripts on both if you want.
to quit
If you click the "scroll lock" key your mouse and keyboard will be stuck to the computer you are viewing. simply tap scroll lock again to free the cursor to move between stations, then (if you are running one with a graphical interface you can quit through it) Note, this is a way to exit if your cursor is trapped on the client and have a terminal:
killall synergyc
Prerequisites
1. A network where the computers can talk directly to each other. (if you are at a cafe with any kind of security that isolates computers you might be able to get your computers to talk through a virtual private network, but that is beyond the scope of this) 2. if you will be controlling the mouse remotely you must have root/administrator access to the machine to change a setting in a configuration file. (assuming/I hope this is true)