Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


x2x

x2x allows the keyboard and mouse on one ("from") X display to be used to control another ("to") X display.

Reference(s)

Table of contents


Install (on target computer only)

TODO

# apt install x2x

TODO

# emerge -a x2x
# nix-env -iA nixos.x2x
# nix-env -iA nixpkgs.x2x

Install with AUR:

$ mkdir -p ~/apps/aur-apps
$ cd ~/apps/aur-apps
$ git clone https://aur.archlinux.org/x2x-git.git
$ cd x2x-git
$ makepkg -is

TODO

TODO

TODO


Config

Enable ssh X11 forwarding:

# vi /etc/ssh/ssh_config
    > ...
    > Host *
    >   ...
    >   ForwardX11 yes
    > ...


Use

$ ssh -YC username@123.123.123.123 x2x -west -to :0.0

-Y option for trusted X11 forwarding (no security control) and -C option for data compression


If this cheat sheet has been useful to you, then please consider leaving a star here.