Linux远程桌面工具 -- NoMachine

简介: 玩Linux系统,会经常用到远程桌面软件。 我一直用的2个是Xmanager 和 VNC。 今天看到一个新软件: NoMachine。 NoMachine NX 是一个快速的终端服务器和虚拟桌面软件,基于 X11 协议。

玩Linux系统,会经常用到远程桌面软件。 我一直用的2个是Xmanager 和 VNC。 今天看到一个新软件: NoMachine。 NoMachine NX 是一个快速的终端服务器和虚拟桌面软件,基于 X11 协议。据说速度比 VNC 还快,甚至可以在只有 10k 的带宽环境下运行。 而且画面也比VNC 的清楚。

 

NoMachine 官网地址:http://www.nomachine.com/

 

使用NoMachine 需要配置服务端和客户端。

 

一. 服务端

      

服务端需要安装3个包:

nxserver-3.4.0-12.i386.rpm

nxnode-3.4.0-11.i386.rpm

nxclient-3.4.0-7.i386.rpm

 

Linux 32bit 的下载地址是:

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

 

 

下面是NoMachine网页的上一个使用说明:

 

1. Download the RPMs

2. Change your working directory to the location where you saved the package and install it by running from a console: 

  # sudo rpm -i nxclient-3.4.0-7.x86_64.rpm 
  # sudo rpm -i nxnode-3.4.0-14.x86_64.rpm 
  # sudo rpm -i nxserver-3.4.0-14.x86_64.rpm

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.

 

 

 

[root@rac2 /]# mkdir /windows

[root@rac2 /]# mount -o username=dave,password=888 //192.168.6.80/tmp /windows

[root@rac2 /]# cd windows/

[root@rac2 windows]# ls

nxclient-3.4.0-7.i386.rpm  nxnode-3.4.0-14.i386.rpm  nxserver-3.4.0-14.i386.rpm

[root@rac2 windows]# ls -lrt

total 17033

-rwxrwSrwx 1 root root 6928970 Nov 11 18:53 nxserver-3.4.0-14.i386.rpm

-rwxrwSrwx 1 root root 6033923 Nov 11 18:53 nxnode-3.4.0-14.i386.rpm

-rwxrwSrwx 1 root root 4477229 Nov 11 18:54 nxclient-3.4.0-7.i386.rpm

[root@rac2 windows]# rpm -ivh *.rpm

error: failed to stat /mnt: Host is down

Preparing...                ########################################### [100%]

   1:nxclient               ########################################### [ 33%]

Showing file: /usr/NX/share/documents/client/cups-info

 

 CUPS Printing Backend

 

 The NX Client set-up procedure detected that your "IPP CUPS" printing

 backend doesn't allow printing from the NX session. In order to have

 printing support in your NX system, you need to set proper permissions

 on the IPP backend. Please execute:

 

   chmod 755 /usr/lib/cups/backend/ipp

   2:nxnode                 ########################################### [ 67%]

NX> 700 Starting: install node operation at: Thu Nov 11 18:58:13 2010.

NX> 700 Autodetected system 'redhat'.

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.4.0-14 completed.

NX> 700 Bye.

 

   3:nxserver               ########################################### [100%]

NX> 700 Installing: server at: Thu Nov 11 18:58:27 2010.

NX> 700 Autodetected system: redhat.

NX> 700 Install log is: /usr/NX/var/log/install.

NX> 700 Creating configuration file: /usr/NX/etc/server.cfg.

NX> 723 Cannot start NX statistics:

NX> 709 NX statistics are disabled for this server.

NX> 700 Version '3.4.0-14' installation completed.

NX> 700 Showing file: /usr/NX/share/documents/server/install-notices

...

 

NX> 700 Bye.

 

[root@rac2 windows]#

 

 

上面有提示我们执行脚本:

[root@rac1 windows]# chmod 755 /usr/lib/cups/backend/ipp

 

 

查看NXserver :

[root@rac2 Server]# /usr/NX/bin/nxserver --status

NX> 900 Connecting to server ...

NX> 110 NX Server is running.

NX> 999 Bye.

[root@rac2 Server]#

 

 

二. 客户端

 

 

Windows 客户端下载:

http://www.nomachine.com/download-client-windows.php

 

 

安装完之后去连服务端即可。

 

运行之后,看配置:

 

  

 

在这里我们需要输入Host 和 远程桌面类型。 现在基本用的是KDE 和 GNOME。 如果Linux 只安装了一个,就要选对。

 

 

下面还有一个选择网络类型的。

 

 

 

   

 

 

 

连接之后的画面:

 

 

 

 

 

 

这里有两点注意的地方:

 

1. 不能用root用户进行连接

2. 如果遇到一下问题,请检查环境变量:

 

To launch a desktop session, KDE or GNOME, the corresponding
commands, either startkde or gnome-session must be set in the PATH.

If the command is not available in the PATH, an error message like:

"Cannot run 'startkde'. Please check that the requested application is in
the system PATH and that you have the rights to execute it."

 

NoMachine 官网对这个错误做了说明:

http://www.nomachine.com/ar/view.php?ar_id=AR06D00398

目录
相关文章
|
16天前
|
Rust Ubuntu Java
[Linux工具] Makefile
Makefile是Linux环境下用于自动化编译和链接程序的配置文件,常用于简化大型项目的编译流程。通过定义目标文件、依赖文件及生成命令,Makefile能高效管理编译任务。它不仅适用于C语言项目,还可扩展到其他编程语言和非编程任务中。
48 20
[Linux工具] Makefile
|
3月前
|
Linux 网络安全 数据安全/隐私保护
Linux 超级强大的十六进制 dump 工具:XXD 命令,我教你应该如何使用!
在 Linux 系统中,xxd 命令是一个强大的十六进制 dump 工具,可以将文件或数据以十六进制和 ASCII 字符形式显示,帮助用户深入了解和分析数据。本文详细介绍了 xxd 命令的基本用法、高级功能及实际应用案例,包括查看文件内容、指定输出格式、写入文件、数据比较、数据提取、数据转换和数据加密解密等。通过掌握这些技巧,用户可以更高效地处理各种数据问题。
319 8
|
3天前
|
监控 安全 Ubuntu
Linux下如何安装配置Fail2ban防护工具
通过以上步骤,可以在Linux系统中成功安装和配置Fail2ban,从而有效保护服务器免受暴力破解等攻击。Fail2ban通过实时监控日志文件,自动更新防火墙规则,为系统安全提供了一层重要的保护。
55 36
|
15天前
|
Linux 网络性能优化 网络安全
Linux(openwrt)下iptables+tc工具实现网络流量限速控制(QoS)
通过以上步骤,您可以在Linux(OpenWrt)系统中使用iptables和tc工具实现网络流量限速控制(QoS)。这种方法灵活且功能强大,可以帮助管理员有效管理网络带宽,确保关键业务的网络性能。希望本文能够为您提供有价值的参考。
65 28
|
12天前
|
网络协议 Unix Linux
深入解析:Linux网络配置工具ifconfig与ip命令的全面对比
虽然 `ifconfig`作为一个经典的网络配置工具,简单易用,但其功能已经不能满足现代网络配置的需求。相比之下,`ip`命令不仅功能全面,而且提供了一致且简洁的语法,适用于各种网络配置场景。因此,在实际使用中,推荐逐步过渡到 `ip`命令,以更好地适应现代网络管理需求。
27 11
|
1月前
|
安全 网络协议 Linux
结合 `nc` 工具利用笑脸漏洞(Smile Bug)攻击 Metasploitable2 Linux
本文介绍如何使用 `nc`(Netcat)工具结合笑脸漏洞(Smiley Bug)攻击 Metasploitable2 Linux 靶机。首先概述了 `nc` 的基本功能和高级用法,包括建立连接、监听端口、文件传输等操作。接着详细描述了笑脸漏洞的原理及其在网络攻防中的应用,展示了通过 `nc` 发送恶意输入检测漏洞的方法。最后结合 Python 脚本实现更复杂的攻击场景,并强调了合法性和环境隔离的重要性。
49 13
|
2月前
|
运维 监控 Linux
推荐几个不错的 Linux 服务器管理工具
推荐几个不错的 Linux 服务器管理工具
153 6
|
4月前
|
监控 Java Linux
Linux系统之安装Ward服务器监控工具
【10月更文挑战第17天】Linux系统之安装Ward服务器监控工具
91 5
Linux系统之安装Ward服务器监控工具
|
3月前
|
缓存 监控 Linux
Linux性能分析利器:全面掌握perf工具
【10月更文挑战第18天】 在Linux系统中,性能分析是确保软件运行效率的关键步骤。`perf`工具,作为Linux内核自带的性能分析工具,为开发者提供了强大的性能监控和分析能力。本文将全面介绍`perf`工具的使用,帮助你成为性能优化的高手。
243 1
|
3月前
|
缓存 监控 Linux
掌握Linux性能分析:深入探索perf工具
【10月更文挑战第26天】
150 1