x11 - 从 X11 Stream 重新创建显示输出
问题描述
我确实有两台用于控制工厂的计算机。其中一个控制工厂,另一个用作故障保险。它们通过以太网直接连接,而“非活动”的只是反映主控制器的显示。
我确实捕获了两者之间的网络流量,当我在wireshark中打开它时,我看到了它所有的X11流量。它确实包括初始连接请求,还包括所有纯文本的“绘图调用”。
我现在想“重播”这个捕获的流并从中重新创建屏幕内容。有没有可用的程序可以做到这一点?理想情况下直接来自wireshark捕获文件
到目前为止我的想法:我可以轻松地重放网络数据本身并将其发送到某个套接字,但是通信是特定于会话的,例如,某些命令引用了之前设置的特定句柄值。新会话不太可能使用相同的值,因此我不能将其通过管道传输到某个程序中
解决方案
What you see from your connection is only your connection requests + events relevant to the windows created by you ( or other's client windows where your connection sets an event mask ), and because of that quite a lot is lost. I'm not aware of the programs that can reconstruct best possible version of the screen from one client traffic but it's certainly not possible to have 100% accurate copy of the screen and best possible model will be far away from real screen (unless your connection periodically polls for backing store content of each mapped window).
推荐阅读
- apache-spark - spark SQL 线程被阻塞并永远运行
- php - 使用 php 将秒数转换为用户友好的格式
- c++ - C++ 重载 == 比较来自不同类的对象
- java - 如何防止 XMLStreamWriter writeCharacter 方法将 \r 转换为
- android - 如何在recyclerview中根据文本长度设置列数
- docker - Nifi 1.6.0 内存泄漏
- xml - 我的项目中需要哪些 jar 来部署 JSF 应用程序?
- apache-spark - Apache Zeppelin Spark notebook 显示状态正在运行,即使它没有运行。为什么?
- matlab - Matlab SOR方法实现
- python - Python 程序完成后会弹出来