talex5 / wayland-proxy-virtwl

Allow guest VMs to open windows on the host
Apache License 2.0
114 stars 12 forks source link

FR: ability to reconnect / switch between local or remote #66

Open digitalsignalperson opened 1 year ago

digitalsignalperson commented 1 year ago

waypipe has a recon command along with --control to be able to reconnect a client if ssh is interrupted

this reminds me of what Xpra could do with X

Xpra is 'GNU Screen for X': it allows you to run X programs, usually on a remote host, direct their display to your local machine, and then to disconnect from these programs and reconnect from the same or another machine, without losing any state. It gives you remote access to individual applications.

It would be cool if this could happen with wayland. Any thoughts on the gap between what the proxy does already and what would be needed?

talex5 commented 11 months ago

That would make it a fair bit more complicated. At the moment, it's just relaying messages, but with this it would have to keep it's own model of the server's state (e.g. which windows are currently open) and recreate it when reconnecting.