Hello,
I am working around nx, but I cannot find the solution.
on a fedora machine I installed nx
nxagent-3.5.0.22-1.fc20.i686
nx-proto-devel-3.5.0.22-1.fc20.i686
remmina-plugins-nx-1.0.0-9.fc20.i686
nxproxy-3.5.0.22-1.fc20.i686
nx-libs-3.5.0.22-1.fc20.i686
freenx-client-0.9-16.fc19.i686
freenx-server-0.7.3-32.fc20.i686
and nomachine.
I setup nx
and run:
nxsetup --install --setup-nomachine-key
I get an error:
Setting up /etc/nxserver ...done
Setting up /var/lib/nxserver/db ...done
Setting up /var/log/nx/nxserver.log ...done
Adding user "nx" to group "utmp" ...done
Setting up known_hosts and authorized_keys ...done
Setting up permissions ...done
----> Testing your nxserver configuration ...
Warning: Invalid value
"APPLICATION_LIBRARY_PRELOAD=/usr/lib/nx/libX11.so.6:/usr/lib/nx/libXext.so.6:/usr/lib/nx/libXcomp.so.3:/usr/lib/nx/libXcompext.so.3:/usr/lib/nx/libXrender.so.1".
/usr/lib/nx/libX11.so.6 could not be found. Users will not be able to run a single
application in non-rootless mode.
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. Ignore if you use cups > 1.2
Error: Could not find 1.5.0 or 2.[01].0 or 3.[012345].0 version string in nxagent. NX
1.5.0 or 2.[01].0 or 3.[012345].0 backend is needed for this version of FreeNX.
Warnings occured during config check.
To enable these features please correct the configuration file.
<---- done
----> Testing your nxserver connection ...
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,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_keys.
(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
where does it take:
APPLICATION_LIBRARY_PRELOAD
?
or:
COMMAND_START_KDE
This is commented in
/etc/nxserver/node.conf
!!
I can run nxclient on the machine itself only in mode NX and not in ssh.
When I try to connect on another machine (fedora 16 or fedora 18), in a local or
adsl network running the same way, I have
no problem to run ssh, but I can never run nxclient:
I get:
running NoMachine sessions over a SSH connection is not supported on this server. Do you
want to switch your connection to using the NX protocol?
if I switch to NX, it does not work either.
I get:
Could not connect to the server.
Error is 113: No route to host
why that?
The NX server is runing every where:
/usr/libexec/nx/nxserver --status
NX> 100 NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: not detected)
NX> 110 NX Server is running
NX> 999 Bye
I checked that I have a nx group, with a user in this group.
I also added:
AllowUsers pdupre nx
AllowGroups nx
in
/etc/ssh/sshd_config
and restart the server!!
remmina almost work the same, ssh OK, sftp OK, but nx does not open a window on the remote
machine!
what to do?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
Show replies by date