towercomputers / toweros

TowerOS: An Operating System for Network-Boundary Converged Multi-Level Secure Computing
https://toweros.org
Apache License 2.0
3 stars 0 forks source link

Copy/Paste #211

Closed ouziel-slama closed 11 months ago

ouziel-slama commented 11 months ago

With VNC only works inside an application.

ouziel-slama commented 11 months ago

I'm not completely finished yet but almost. Here is the most generic solution I found: On all hosts and the thinclient there are two mini bash services that use netcat:

Then just open a double tunnel with a host:

[thinclient]$ ssh <host> -R 5557:localhost:5556 -L 5557:localhost:5556 -N

So that when the clipboard is updated on the host, the content is directly sent to the thinclient and vice versa. It's a little more complicated to implement than explained but it works well :) Also with this new system it should be easier to open a confirmation window when the user does a ctrl-c: "Do you want to share this content with the thinclient and other hosts?" and a “don’t ask again” checkbox.

ouziel-slama commented 11 months ago

done! see https://github.com/towercomputers/toweros/issues/223