对于需要经常远程到X windows的网友来说,VNC与Xmanager经常被使用,而NoMachine也是不错的选择之一,该工具简单,易用,尤其是在低带宽、慢速率的网络环境下工作性能良好。本文描述了NoMachine的快速安装与使用。
NoMachine 官网地址:
NoMachine 的下载地址:
该软件支持多种平台,也有多种不同的版本,因此下载时,应选择适合自己平台使用的相应版本。
本文下载的是基于linux 64bit的安装版本,即 NX Free Edition。
一、NX简单介绍
NoMachien能使用户从另一台计算机访问和控制远程的Windows,Linux PC或Mac电脑,实现工作或娱乐等操作。
NoMachien的NX主要分为两部分:NX Client和NX Server。
NX Server的部署见文档 ,较为简单。部署完成后,就可以使用NX Client进行连接了。NX Client有Windows版本,Linux版本,Mac版本和Solaris版本。
NX远程桌面技术,采用了新的远程协议,把x桌面的数据经过提取,仅传送一些参数,而且通过ssh来进行数据加密传送,因此相比VNC或直接XDMP具有很快的速度和较高的安全性能。
二、安装与使用
下面是安装说明,直接参照安装即可
Note: Installation of NX Server for Linux requires the download and installation of three packages: client, node and server.
The client is needed because it ships libraries used by the node. The node is needed because it ships tools needed by the server.
Furthermore, the SSH server daemon (SSHD) needs to be up and running on each of the NX Node machines since NX relies on the mechanism provided by the SSH subsystem for handling user authentication.
TAR.GZ version
Download the TAR.GZs in the /usr directory
Change your working directory to the location where you saved the package and install it by running from a console:
# cd /usr
$ sudo tar zxvf nxclient-3.5.0-7.x86_64.tar.gz
$ sudo tar zxvf nxnode-3.5.0-9.x86_64.tar.gz
$ sudo tar zxvf nxserver-3.5.0-11.x86_64.tar.gz
Run the setup script for installing the NX Node and NX Server software:
$ sudo /usr/NX/scripts/setup/nxnode --install
$ sudo /usr/NX/scripts/setup/nxserver --install
If you don't have the sudo utility installed, log on as superuser ("root") and run the commands without sudo.
Note: click here for detailed instructions on how to install the NX Client, NX Node and NX Server packages.
The NX service can be controlled by the command /usr/NX/bin/nxserver --status|--start|--stop|--restart.
Additional commands are available to configure the server. Try /usr/NX/bin/nxserver --help for more information.
Please, don't forget to download and read the NX Server Administrator's Guide available here.
上面的安装说明中也给出了nxserver命令使用方式,如使用 --help获得所有的帮助信息
blade4:/ # /usr/NX/bin/nxserver --help
Usage: nxserver [Option]
--help
Show this message.
--version
Show version of NX Server.
..................
下面是硬件需求信息
Hardware
400 MHz processor
128 MB RAM
35 MB free disk space on your hard drive
Network connection (either a LAN, or Internet link: dial-up (minimum 33.6 Kbps modem), broadband, cable, DSL, etc.)
blade4:/usr # ls nx*
nxclient-3.5.0-7.x86_64.tar.gz nxnode-3.5.0-9.x86_64.tar.gz nxserver-3.5.0-11.x86_64.tar.gz
blade4:/usr # tar -zxvf nxclient-3.5.0-7.x86_64.tar.gz
blade4:/usr # tar -zxvf nxnode-3.5.0-9.x86_64.tar.gz
blade4:/usr # tar -zxvf nxserver-3.5.0-11.x86_64.tar.gz
blade4:/usr # cd NX
blade4:/usr/NX # ls
bin etc home lib scripts share var
blade4:/usr/NX/ # cd scripts/
blade4:/usr/NX/scripts # ls
init restricted setup
blade4:/usr/NX/scripts # cd setup/
blade4:/usr/NX/scripts/setup # ls
nxnode nxserver
blade4:/usr/NX/scripts/setup # ./nxnode --install
NX> 700 Starting: install node operation at: Mon Oct 08 07:24:52 2012.
NX> 700 Autodetected system 'SUSE'.
NX> 700 Install log is '/usr/NX/var/log/install'.
NX> 700 Creating configuration in /usr/NX/etc/node.cfg.
NX> 700 Inspecting local CUPS environment.
NX> 700 Generating CUPS entries in: /usr/NX/etc/node.cfg.
NX> 700 Installation of version: 3.5.0-9 completed.
NX> 700 Showing file: /usr/NX/share/documents/node/cups-info
CUPS Printing Backend