个人工具

“UbuntuHelp:NomachineNX”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/NomachineNX}}
 
{{From|https://help.ubuntu.com/community/NomachineNX}}
 
{{Languages|UbuntuHelp:NomachineNX}}
 
{{Languages|UbuntuHelp:NomachineNX}}
Setting up Nomachine NX on Ubuntu is really easy.
+
Beware that the following packages are not free but if you're facing problems with the freeNX packages, it may be a good solution:
1. Download and install the Nomachine NX packages for Debian (http://www.nomachine.com/download_fil2.php?Prod_Id=127)
+
setting up Nomachine NX packages on Ubuntu is now quite easy:
2. Install the libraries that Nomachine requires to run (apt-get install libstdc++2.10-glibc2.2, available in Universe)
+
1. Download the Nomachine NX packages for Ubuntu (http://www.nomachine.com/download)
 +
2. Install the packages in this order: client, node, server
 +
3. cp /usr/NX/etc/keys/node.localhost.id_dsa.pub  ~/tmp/node.localhost.id_dsa.pub.save
  
That's it, configure [[UbuntuHelp:NomachineNX|NomachineNX]] in the normal way and now it will work.
+
./nxnode --keyadd ~/tmp/node.localhost.id_dsa.pub.save
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
(Caveat: Don't directly import the file /usr/NX/etc/keys/node.localhost.id_dsa.pub. First copy it, otherwise it will be deleted after the importation).
NOTE FOR UBUNTU V6.10:
+
4. /usr/NX/bin/nxserver --keygen
You may find it necessary to use version >= 2.1 of the nomachine packages.
+
5. import the new private DSA key to the client. This file is located here:
----
+
 
[[category:CategoryNeedsExpansion]]
+
/usr/NX/share/keys/default.id_dsa.key
 +
6. Change the owner of the nx user public key on the server and check that the name conforms to the filename given in the /etc/ssh/sshd_config file:
 +
 
 +
chown nx:root /usr/NX/home/nx/.ssh/authorized_keys2
 +
chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2
 +
mv /usr/NX/home/nx/.ssh/authorized_keys2 /usr/NX/home/nx/.ssh/authorized_keys
 +
That's it.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 16:39的版本

Beware that the following packages are not free but if you're facing problems with the freeNX packages, it may be a good solution: setting up Nomachine NX packages on Ubuntu is now quite easy: 1. Download the Nomachine NX packages for Ubuntu (http://www.nomachine.com/download) 2. Install the packages in this order: client, node, server 3. cp /usr/NX/etc/keys/node.localhost.id_dsa.pub ~/tmp/node.localhost.id_dsa.pub.save

./nxnode --keyadd ~/tmp/node.localhost.id_dsa.pub.save (Caveat: Don't directly import the file /usr/NX/etc/keys/node.localhost.id_dsa.pub. First copy it, otherwise it will be deleted after the importation). 4. /usr/NX/bin/nxserver --keygen 5. import the new private DSA key to the client. This file is located here:

/usr/NX/share/keys/default.id_dsa.key 6. Change the owner of the nx user public key on the server and check that the name conforms to the filename given in the /etc/ssh/sshd_config file:

chown nx:root /usr/NX/home/nx/.ssh/authorized_keys2 chmod 0644 /usr/NX/home/nx/.ssh/authorized_keys2 mv /usr/NX/home/nx/.ssh/authorized_keys2 /usr/NX/home/nx/.ssh/authorized_keys That's it.