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