Annotated edit history of
x2x version 2, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
BenStaz |
1 |
x2x allows the keyboard, mouse on one X display to be used to control another X display. It also shares X clipboards between the displays. |
|
|
2 |
|
|
|
3 |
On the computer with the mouse and keyboard you wish to use to control multiple displays, install x2x. |
|
|
4 |
|
|
|
5 |
This can be done from source: http://freshmeat.net/projects/x2x/ |
|
|
6 |
|
|
|
7 |
Or if you have [Ubuntu]: |
|
|
8 |
*sudo aptitude install x2x |
|
|
9 |
|
|
|
10 |
Now on each of the other machines: |
|
|
11 |
|
|
|
12 |
1) Make sure that in ''/etc/gdm/gdm.conf'' that ''DisallowTCP'' is set to false. If you do change it be sure to restart the gnome desktop manager with the command: |
|
|
13 |
*sudo /etc/init.d/gdm restart |
|
|
14 |
2) Add the hostname or IP of the main machine to ''xhost'' by doing the command: |
|
|
15 |
*xhost +<host/IP> |
|
|
16 |
|
|
|
17 |
Now back to the primary machine: |
|
|
18 |
|
|
|
19 |
Lets say that I have a laptop to the right of my main machine. |
|
|
20 |
To be able to control the X display on that laptop, I type : |
|
|
21 |
*x2x -to 192.168.1.4:0.0 -EAST |
|
|
22 |
Now when I move my mouse (of the main machine) off the screen in the east direction (right) I will be astonished to see the mouse cursor is now moving on the laptop! |
|
|
23 |
|
|
|
24 |
The Syntax is: |
|
|
25 |
|
2 |
BenStaz |
26 |
*x2x -to <X Display> -<Which direction to move the mouse off the screen> |
1 |
BenStaz |
27 |
|
|
|
28 |
Note : I would recommend running x2x using ''[Screen]'' so that you can close the terminal window you started x2x from without ending x2x. |