Handling Multiple Displays with x2x - page 3
Two Displays, One Problem
Some people may have three machines to control. You can copy the headless script over to the third machine. Since the laptop will be controlling the three screens, no changes need to be made to the script. Naturally, the user accounts need to be synced and I assume machine three will run KDE. You don't necessarily need to keep KDE though. Change the second line and give another window manager a try, if you are adventurous.
One difference is that x2x will need to be started with the -east option. This will make the cursor switch to machine three when you roll the mouse off the right side of the laptop screen. Don't forget that you'll also be starting x2x for both remote machines, in their own xterms on the laptop.
A couple of other options that you might try are the "label" and "wait" switches. Label overrides the title of the control window, which might be helpful to keep of your screens over ssh.
The wait option lets x2x sit there and poll until the from or to machines become available. This might be useful if you run x2x from a script.
Another useful switch is for "north" and "south" machines. Conceivably, you could then control up to four machines from your laptop. Sadly, these options apparently aren't implemented in my version. Take a look at the x2x man page for a complete list.
I also wanted to mention that the commands that I used to set up X on the desktop machine is not very secure. So, you'll probably want to look at using MIT-Magic-Cookie authentication or tunneling through ssh. Both are mentioned on the x2x home page. The method outlined works fine for my little lab network where I can keep an eye on who's logged in.
x2x is a nice little program to use for controlling multiple Linux machines from one keyboard and mouse.
I'm happy because I don't have to close my laptop lid any more.
Rob Reilly is a consultant, writer, and commentator who advises clients on business & technology projects. He is also a Contributing Editor for Linux Today. Send him a note or visit his Web site at http://home.earthlink.net/~robreilly.
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 2Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 3Linux Top 3: Debian Dumps SPARC, Ubuntu Takes Over Linux 3.13 and the Core Infrastructure Initiative
- 4Linux Top 3: Fedora, Ubuntu and Gluster Lose Community Leaders
- 5Red Hat Enterprise Linux 7 Finally Hits the Big Time