个人工具

“UbuntuHelp:FreeNX/zh”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
术语
安装FreeNX服务端
第44行: 第44行:
 
(利用aptitude来安装依赖包)
 
(利用aptitude来安装依赖包)
 
[注:你也可以用sudo nxsetup --install --setup-nomachine-key 来手动执行安装]
 
[注:你也可以用sudo nxsetup --install --setup-nomachine-key 来手动执行安装]
During installation you will be given the option to select NoMachine keys, or custom keys. It is best to select NoMachine keys.
+
在安装过程中会让你选择NoMachine keys还是custom keys。最好是选NoMachine keys。
''For the paranoid: there is an added security risk involved in using the default keys.  If you keep the default keys then everybody will be able to connect to your SSH server as the NX user which is added to your system during the installation.  This opens an additional (and unnecessary) opportunity to attack your computer. You could avoid it by using custom SSH keys, as explained later. ''
+
''说给paranoid:利用默认keys会带来额外的安全风险。If you keep the default keys then everybody will be able to connect to your SSH server as the NX user which is added to your system during the installation.  This opens an additional (and unnecessary) opportunity to attack your computer. You could avoid it by using custom SSH keys, as explained later. ''
On the server, add your user to nxserver
+
在服务器上,在nxserver中添加你的用户
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo nxserver --adduser <username>
 
sudo nxserver --adduser <username>
 
sudo nxserver --passwd <username>
 
sudo nxserver --passwd <username>
 
sudo nxserver --restart</nowiki></pre>
 
sudo nxserver --restart</nowiki></pre>
[Note: I don't know if this is still needed, but it helps - JeremySchroeder]
+
[注:I don't know if this is still needed, but it helps - JeremySchroeder]
 +
 
 
=== Installing the NX Client ===
 
=== Installing the NX Client ===
 
<pre><nowiki>
 
<pre><nowiki>

2008年11月3日 (一) 01:50的版本


FreeNX 是什么

FreeNX 是一个允许你通过互联网从另外一台电脑进入你桌面的系统。你可以用此系统来进行远程的图形界面登录。比方说它可以用于:在你的家用电脑上装好FreeNX服务端,然后就可以用FreeNX客户端从你的工作电脑来图形登录到家用电脑上。它是开源的、安全(基于SSH)、快捷并且用途广泛!注意:目前FreeNX还仅限于本地和远程机器的桌面环境是Linux或Unix。在Ubuntu上运行FreeNX为服务端并在Windows中配合使用NoMachine的免费"NX Client for Windows",也能运行良好。

术语

服务器(server)是你想接入的电脑。此电脑也就应该安装FreeNX服务端程序。提供服务端的Ubuntu包叫"freenx"。对前面的举例而言,家用电脑就是服务器。 客户端(client)是指你准备接入"服务器"的那台电脑。提供客户端的Ubuntu包叫"nxclient"。对前面的例子而言,工作电脑是客户端。

安装

安装FreeNX服务端

我们将在提供服务的电脑上安装FreeNX服务端,即那台你想远程登录的机器。在前面举例中指那台你家中的电脑。打开你的aptitude源列表在文件内容后加上两行。

gksudo gedit /etc/apt/sources.list

对于Ubuntu 5.10 和 6.06,请加入:

 
deb http://mirror.ubuntulinux.nl/ dapper-seveas freenx
deb-src hhttp://mirror.ubuntulinux.nl/ dapper-seveas freenx

对于Ubuntu 7.04,请加入:

 
deb http://mirror.ubuntulinux.nl/ feisty-seveas freenx
deb-src http://mirror.ubuntulinux.nl/ feisty-seveas freenx

对于Ubuntu 8.04 和 8.10 你可以在[1]找到相关信息。 保存并关闭列表。对于更老的发行版还必须加上GPC key:

wget http://mirror.ubuntulinux.nl/seveas.gpg -O- | sudo apt-key add -

然后更新apt

sudo apt-get update

在添加源后安装freenx 包。

sudo aptitude install freenx

(利用aptitude来安装依赖包) [注:你也可以用sudo nxsetup --install --setup-nomachine-key 来手动执行安装] 在安装过程中会让你选择NoMachine keys还是custom keys。最好是选NoMachine keys。 说给paranoid:利用默认keys会带来额外的安全风险。If you keep the default keys then everybody will be able to connect to your SSH server as the NX user which is added to your system during the installation. This opens an additional (and unnecessary) opportunity to attack your computer. You could avoid it by using custom SSH keys, as explained later. 在服务器上,在nxserver中添加你的用户

sudo nxserver --adduser <username>
sudo nxserver --passwd <username>
sudo nxserver --restart

[注:I don't know if this is still needed, but it helps - JeremySchroeder]

Installing the NX Client

sudo aptitude install nxclient

You should be able to access your Ubuntu box from any Windows or Linux box using the free client from NoMachine's website. You can also embed your NX Server in a webpage by installing the Nomachine Web Companion and the Apache webserver. (!) Note on nomachine web site there is new version off nxclient version 2.0 and it don't work with freenx so you should better use nxclient from Seveas' Packages! Now you can execute the installed client using the following command:

/usr/NX/bin/nxclient &

Or by looking it up in the menu This will start the NX client in a GUI, and step you through getting connected to the FreeNX server, and you will be on your way! [Note: If you are behind a firewall you may need to enable SSL encryption under the Advanced configuration tab - JeremySchroeder] Useful Resource for installing client on 64-bit Ubuntu