特殊:Badtitle/NS100:NomachineNX

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 16:39的版本
跳到导航跳到搜索

{{#ifexist: :NomachineNX/zh | | {{#ifexist: NomachineNX/zh | | {{#ifeq: {{#titleparts:NomachineNX|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NomachineNX|1|-1|}} | zh | | }}

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.