Skip to main content

X2X For Mageia

 X2X allows the keyboard, mouse, and clipboard on one X display to be used to control another X display. Mageia does not provide an RPM package for X2X, but openSUSE does for both x86_64 and i586. The RPM packages install on Mageia with no issues. Ubuntu also provides packages for their distro.

To install from the OpenSUSE ftp site:

# urpmi ftp://ftp.icm.edu.pl/vol/rzm6/pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/Backports:/SLE-15-SP1/standard/x86_64/x2x-1.30_beta-bp151.3.1.x86_64.rpm


You will get the following warning that can be ignored:


warning: /var/cache/urpmi/partial/x2x-1.30_beta-bp151.3.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 65176565: NOKEY


The following package has bad signature:
/var/cache/urpmi/partial/x2x-1.30_beta-bp151.3.1.x86_64.rpm: Invalid signature (NOT OK (no key): /var/cache/urpmi/partial/x2x-1.30_beta-bp151.3.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 65176565: NOKEY)


Do you want to continue installation ? (y/N) n

Enter y to install.

So how do we use this?

At this location, a second desktop using a large screen TV as a display (the target/slave) is located to the left of the primary desktop with a triple-head display, so the "slave/target" display is located to the "west". We are on a local network and ssh/sshd is installed on both machines with public/private keys enabled for logins without a passwordX2X need only be installed on the primary machine.

$ ssh -X 192.168.1.xxx /usr/bin/x2x -west -to :0 &

Note that 192.168.1.xxx is the IP of the target/slave machine. You do need to log in as the user on the target machine if it is different that you.

X2X is full of crusty old pre-ANSI C and is totally insecure, so it is recommended that you use X2X over SSH as shown in the example.


RESOURCES










Comments