NX和FreeNX
在newsforge上看到了一篇介绍NX的文章,找了一下相关资料。
NX是一个基于X协议的远程显示软件,但是对X协议数据进行压缩,重要的特性是能够在低带宽的网络情况下使用X协议。NX Components & Flowcharts :
http://openfacts.berlios.de/index-en.phtml?title=NX_Components
这篇文章简单的介绍了NX在X协议上的改进,使用了3种方法进行加速。
NX Compression
NoMachine have developed their own compression algorithm for X traffic. This is about 10 times more efficient than generic ZLIB compression, while using only one tenth of ZLIB's CPU cycles. This is the first secret for NoMachine's NX speedup.
NX Caching
NoMachine have also developed a very intelligent caching mechanism for X11 traffic. It produces a quite big "hit rate", sparing the transfer of the same data repeatedly, and restricting the transfer of similar data to a "differential transfer" only. This is the second secret for NoMachine's NX speedup.
NX Roundtrip Suppression
Before NX there was no known method to suppress X11 roundtrips over remote links reliably and in a robust way. NX can do that by translating X11 traffic at the remote end (occuring from application to nxagent) into NX protocol traffic. This is the third secret for NoMachine's NX speedup.
后来发现很早以前就有人在做X协议的压缩和扩展。Keith Packard 提出了 Low Bandwidth X(LBX) 协议,但是后来遇到了很多的问题,最后放弃了这个协议。
在这里 http://keithp.com/%7Ekeithp/talks/lbxpost/paper.html
可以了解到具体的原因。
LINK:
NX: http://www.nomachine.com/
FreeNX: http://developer.berlios.de/projects/freenx/
http://openfacts.berlios.de/index-en.phtml?title=FreeNX
顺便贴上几个wiki:
Remote Desktop Protocol:
http://en.wikipedia.org/wiki/Remote_Desktop_Protocol
Virtual Network Computing:
http://en.wikipedia.org/wiki/VNC
再次发现http://en.wikipedia.org/wiki/Main_Page是个不错的网站。
FreeNX核心库是由NOMACHINE公司以GPL授权开放源代码方式发布的,开源社区利用这一部分代码完成了一个服务器端,官方网站为http://freenx.berlios.de/ ,NoMachine公司自己也维护自己的商业服务器端及客户端,支持更多特性。

以下记录在Debian上安装FreeNX服务器端、Windows作为操控端的大致步骤,更详细的请参考本页面最顶端的英文原始文章。
FreeNX官方网站提供的是服务器端的源代码,可以以编译的方式安装,但我们使用的是Debian,常常不必自己编译的,可以在网上寻找别人编译好的Deb包(同样道理,Redhat一般可以找到RPM包):我在http://www.debianhelp.co.uk/freenx.htm 页面找到了有关的apt源。具体地:
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删