NX取代VNC图形连接Linux

http://www.nomachine.com/

vnc图形流畅N倍;占用资源少

服务端:CentOS 6.0

        所需包 :安装按顺序

64位下载地址

http://www.nomachine.com/download-package.php?Prod_Id=3596

nxclient-3.5.0-7.x86_64.rpm

nxnode-3.5.0-7.x86_64.rpm

nxserver-3.5.0-9.x86_64.rpm

客户端:Windows 7

        所需包:nxclient-3.5.0-7.exe

 

配置过程:

Server端:

1、安装上述所写三个包,注意顺序

# vi /usr/NX/etc/server.cfg

取消如下注释,并修改为

EnableAutokillSessions = "1"   指:允许自动断开

EnableUnencryptedSession = "0"  指:加密传输

 

2# vi /etc/ssh/sshd_config

最后添加:

AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2

这是密钥路径

# /etc/init.d/sshd restart

3、添加连接用户(最好是系统不存在的)

# /usr/NX/bin/nxserver --useradd 用户 --system

连续两次输入密码

NX> 102 Password:

NX> 102 Confirm password:

NX> 900 Setting password for user: ecdata.

NX> 137 System password changed correctly.

NX> 304 User: ecdata added to the system.

NX> 801 User: ecdata uses SSHD authentication.

NX> 301 User: ecdata enabled in the NX user DB.

NX> 999 Bye.

 

 

# /usr/NX/bin/nxserver –restart重启

# /usr/NX/bin/nxserver –help 查看更多帮助

 

Client端:

 

Note:不支持root登陆

你可能感兴趣的:(linux,职场,休闲,NX,图形连接linux)