dottedmag/x2x

Force the control back to the machine

Opened this issue · 1 comments

I was wondering whether it would be possible to have 2 machines, each normally controlling itself, where either machine could temporarily take control of the other.

On host 1: ssh -X host_2 "x2x -east -to :0.0"

On host 2: ssh -X host_1 "x2x -west -to :0.0"

This could either be very clever (and potentially useful), or very stupid. It turns out to be the latter. When the controls are crossed, both machines get stuck, and it's necessary to
chvt 1; killall x2x in order to get either to respond..

Maybe this is inevitable, but it would be nice if X2X could prevent the error, even if it did so by crashing out in once instance.

Similarly, if the network dies, the machine with the keyboard cannot get control back.

Sorry for not replying for 9 years. Apparently, my GitHub e-mails were turned off.

It would be a nice feature, however, the project is dormant, so a new maintainer is needed to implement it.