“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}} | ||
− | + | 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 | + | setting up Nomachine NX packages on Ubuntu is now quite easy: |
− | 2. Install the | + | 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. | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2008年10月19日 (日) 16:39的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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.