Bonjour, j’essaye de faire fonctionner le server nx sur un raspberry, l’installation me donne ça:
[code]root@raspberrypi:~# sudo /usr/NX/bin/nxsetup --install
------> It is recommended that you use the NoMachine key for
easier setup. If you answer “y”, FreeNX creates a custom
KeyPair and expects you to setup your clients manually.
“N” is default and uses the NoMachine key for installation.
Do you want to use your own custom KeyPair? [y/N] nStarting ssh service …[…[ ok arting OpenBSD Secure Shell server: sshd.
done
Setting up /usr/NX/etc …done
Setting up /usr/NX/var/db …done
Setting up /var/log/nxserver.log …done
Adding user “nx” to group “utmp” …done
Setting up known_hosts and authorized_keys2 …done
Setting up permissions …done
Setting up cups nxipp backend …done
----> Testing your nxserver configuration …
Warning: Could not find nxdesktop in /usr/NX/bin. RDP sessions won’t work.
Warning: Could not find nxviewer in /usr/NX/bin. VNC sessions won’t work.
Warning: Invalid value "CUPS_ETC=/etc/cups/"
Users will not be able to enable printing.
Warning: Invalid value "DEFAULT_X_SESSION=/etc/X11/xdm/Xsession"
Users might not be able to request a default X session.
Warning: Invalid value "COMMAND_START_KDE=startkde"
Users will not be able to request a KDE session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value “COMMAND_SMBMOUNT=smbmount”. You’ll not be able to use SAMBA.
Warning: Invalid value “COMMAND_SMBUMOUNT=smbumount”. You’ll not be able to use SAMBA.
Warning: Invalid cupsd version of “/usr/sbin/cupsd”. Need version 1.2.
Users will not be able to enable printing.
Warnings occured during config check.
To enable these features please correct the configuration file.
<---- done
----> Testing your nxserver connection …
Permission denied (publickey,password).
Fatal error: Could not connect to NX Server.
Please check your ssh setup:
The following are examples of what you might need to check.
- Make sure "nx" is one of the AllowUsers in sshd_config.
(or that the line is outcommented/not there)
- Make sure "nx" is one of the AllowGroups in sshd_config.
(or that the line is outcommented/not there)
- Make sure your sshd allows public key authentication.
- Make sure your sshd is really running on port 22.
- Make sure your sshd_config AuthorizedKeysFile in sshd_config is set to authorized_keys2.
(this should be a filename not a pathname+filename)
- Make sure you allow ssh on localhost, this could come from some
restriction of:
-the tcp wrapper. Then add in /etc/hosts.allow: ALL:localhost
-the iptables. add to it:
$ iptables -A INPUT -i lo -j ACCEPT
$ iptables -A OUTPUT -o lo -j ACCEPT[/code]
Mais lorsque j’essaye de me connecter avec opennx (sous windows) j’ai le message “authentication failed”, j’ai essayé en faisant “non” à l’install ou en faisant “oui” et en important la clef dans opennx mais rien y fait, est-ce qu’il y a des logs qui me donneraient des indications sur les erreurs se produisant ?
Merci d’avance.