惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AWS News Blog
AWS News Blog
V
Vulnerabilities – Threatpost
D
Darknet – Hacking Tools, Hacker News & Cyber Security
量子位
博客园 - 叶小钗
AI
AI
T
Tor Project blog
Forbes - Security
Forbes - Security
W
WeLiveSecurity
博客园_首页
爱范儿
爱范儿
J
Java Code Geeks
B
Blog
G
GRAHAM CLULEY
aimingoo的专栏
aimingoo的专栏
Cloudbric
Cloudbric
C
CXSECURITY Database RSS Feed - CXSecurity.com
TaoSecurity Blog
TaoSecurity Blog
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
有赞技术团队
有赞技术团队
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
云风的 BLOG
云风的 BLOG
Google DeepMind News
Google DeepMind News
H
Help Net Security
博客园 - 三生石上(FineUI控件)
C
Cisco Blogs
C
Cybersecurity and Infrastructure Security Agency CISA
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
P
Palo Alto Networks Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Commits to openclaw:main
Recent Commits to openclaw:main
博客园 - 司徒正美
The Last Watchdog
The Last Watchdog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
S
Secure Thoughts
Spread Privacy
Spread Privacy
F
Fortinet All Blogs
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
Security Latest
Security Latest
Webroot Blog
Webroot Blog
Scott Helme
Scott Helme
Hugging Face - Blog
Hugging Face - Blog

博客园 - Huntercat

手机流媒体技术介绍--转载 两个标签:EpiData和Nginx solaris10 网络配置 Ubuntu 8.10 Server Apache + SVN + SSL配置 Ubuntu install process show "dpkg was interrupted,you must manually run dpkg --configure -a to correct the problem" Ubuntu 8.10 Server Edition桌面系统的安装 ubuntu8.04做PXE安装服务器 通过PXE安装LINUX操作系统 NX远程连接认证失败的原因及解决方法 Ubuntu使用技巧 Ubuntu下文件移动|复制|打包|解包|挂载iso小结 Ubuntu下Reciteword的安装 SUN SL48磁带库总是离线的解决方案 Ubuntu下配置Telnet服务 Ubuntu下配置SSH服务 Ubuntu启动后死机 Xmanager远程连接Linux的配置 周末终于可以正常休息了 评估倒计时
NX访问Ubuntu远程桌面配置
Huntercat · 2008-05-16 · via 博客园 - Huntercat
 

NomachineNX远程桌面服务访问Ubuntu

由非linux平台连接到linux box有很多种方法。ubuntu本身就提供了XDMP,VNCRDP等远程桌面登陆的方式。这些方式的实现比较简单,没有使用多少数据压缩的技术,因而远程时会感到比较慢,桌面图像的传送有滞后感。而linux的下一代远程桌面的方式,是nomachine公司提供的NX远程桌面技术。nx技术采取了新的远程协议,把x桌面的数据经过提取,仅传送一些参数,而且通过ssh来进行数据加密传送,因此相比VNC或直接XDMP具有很快的速度和较高的安全性能。安装方法及问题解决:
-------------------------------
安装前的必要准备。
-------------------------------

1.

下载nomachineNX free edition server client.

Download "NX Desktop Server DEB for Linux" from:
http://www.nomachine.com/select-package.php?os=linux&id=1

Download "NX Node DEB for Linux" from:
http://www.nomachine.com/download-node.php?os=linux

Download "NX Client DEB for Linux" from:
http://www.nomachine.com/download-client-linux.php

请选择适合自己linux平台的安装包。
2.
确保必要的依赖包存在。在新立得管理器(Synaptic)里搜索以下软件包,确保它们已经被安装
libstdc++2.10-glibc2.2
openssh

3.

如果你以前安装过FreeNX或者其它版本的NX,请先通过新立得卸载(用命令行也可以)
并移除相关的文件夹和残留文件。

-----------------------------------

安装
-----------------------------------
按以下的顺序安装下载的DEB文件(顺序很重要,nxserver依赖于前两个包的安装)
nxclient
nxnode
nxserver
直接双击下载到的deb 文件安装即可。喜欢用命令行方式的可以cddeb文件所在文件夹
或用命令:
sudo dpkg -i file/path/filename.deb
-----------------------
配置
-----------------------
这一步很重要,按网上的很多教程安装都没有说清楚,因此花了很多时间才搞定。
1.
使用你喜欢的编辑器编辑
/etc/ssh/sshd_config
文件
比如:
sudo vi /etc/ssh/sshd_config
添加一行:
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2

(

注:如果原来有了AuthorizedKeysFile开头的这一行,很可能是因为之前安装过其他版本的NX,可以注释掉)
重启sshd:
sudo /etc/init.d/ssh restart
确定nxserver已经能正常运行:
sudo /usr/NX/bin/nxserver --status
如果得到信息如下,就是可以了
NX> 900 Connecting to server ..
NX> 110 NX Server is running.
NX> 999 Bye.
如果有错的话,应该是配置上的问题。到此nxserver安装完成。
---------------------------------
更改nxserver配置文件
---------------------------------
sudo vi /usr/NX/etc/server.cfg
去掉以下两行的注释,并改为
ENABLE_AUTOKILL_SESSIONS = "1"
ENABLE_UNENCRYPTED_SESSION = "0"
至此,我们在NX在Ubuntu下的安装配置就完成了。
至于
nxclientwindows上的安装,直接安装就可以用了。

参考:http://user.qzone.qq.com/476801048/blog/1198892789