Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued]
Date: Thu, 26 Nov 2015 09:51:19
Message-Id: 60358334.mzbVDv5Fk7@wstn
In Reply to: [gentoo-user] openssh-7.1_p1-r2 won't allow "nxserver" to connect [continued] by Bill Damage
1 I would need a magnifying glass to read this. Please don't use HTML on this
2 list.
3
4 On Wednesday 25 November 2015 18:50:14 Bill Damage wrote:
5 > I have exactly the same problem mentioned in this thread. I think
6 > something changed and broke the authentication during an update. i found
7 > this message by Googling and just joined the mail list to ask for help. I
8 > have done everything mentioned in the thread, and here's where I'm at:
9 > (it worked fine before some regular update broke it) Thanks!
10 > [root@tiger ssh]# nxsetup --test
11 > ----> Testing your nxserver configuration ...Warning: Invalid value
12 > "APPLICATION_LIBRARY_PRELOAD=/usr/lib64/nx/libX11.so.6:/usr/lib64/nx/libX
13 > ext.so.6:/usr/lib64/nx/libXcomp.so.3:/usr/lib64/nx/libXcompext.so.3:/usr/l
14 > ib64/nx/libXrender.so.1". /usr/lib64/nx/libX11.so.6 could not be found.
15 > Users will not be able to run a single application in non-rootless
16 > mode.Warning: Invalid value "COMMAND_START_CDE=cdwm" Users
17 will
18 > not be able to request a CDE session.Warning: Invalid value
19 > "COMMAND_SMBMOUNT=smbmount". You'll not be able to use
20 SAMBA.Warning:
21 > Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use
22 > SAMBA.Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version
23 > 1.2. Users will not be able to enable printing. Ignore if you use
24 > cups > 1.2Error: Could not find 1.5.0 or 2.[01].0 or 3.[012345].0 version
25 > string in nxagent. NX 1.5.0 or 2.[01].0 or 3.[012345].0 backend is needed
26 > for this version of FreeNX. Warnings occured during config check. To
27 > enable these features please correct the configuration file. <---- done
28 > ----> Testing your nxserver connection ...Permission denied
29 > (publickey,gssapi-keyex,gssapi-with-mic,password).Fatal error: Could not
30 > connect to NX Server. Please check your ssh setup:
31 > The following are _examples_ of what you might need to check.
32 > - Make sure "nx" is one of the AllowUsers in sshd_config. (or
33 > that the line is outcommented/not there) - Make sure "nx" is one
34 > of the AllowGroups in sshd_config. (or that the line is
35 > outcommented/not there) - Make sure your sshd allows public key
36 > authentication. - Make sure your sshd is really running on port
37 > 22. - Make sure your sshd_config AuthorizedKeysFile in sshd_config
38 > is set to authorized_keys. (this should be a filename not a
39 > pathname+filename) - Make sure you allow ssh on localhost, this could
40 > come from some restriction of: -the tcp wrapper. Then add in
41 > /etc/hosts.allow: ALL:localhost -the iptables. add to it: $
42 > iptables -A INPUT -i lo -j ACCEPT $ iptables -A OUTPUT -o lo -j
43 > ACCEPT[root@tiger ssh]#
44
45 --
46 Rgds
47 Peter

Replies