Forum / NoMachine for Linux / NxexecPAMCheckCredentials: ERROR! Authentication failed with error 28
Tagged: ubuntu authentication
- This topic has 2 replies, 2 voices, and was last updated 4 years ago by cpudney.
-
AuthorPosts
-
September 23, 2020 at 08:44 #29578cpudneyParticipant
Running headless Ubuntu 20.04 LTS (GNU/Linux 5.4.0-39-generic x86_64).
Installed ‘nomachine_6.11.2_1_i686.tar.gz’
No customization of configuration changes from the default installation were applied.
The Windows 10 NoMachine client gives the following error when attempting to connect:
Authentication failed, please try again.
—–
# /usr/NX/bin/nxserver –status
NX> 111 New connections to NoMachine server are enabled.
NX> 162 Enabled service: nxserver.
NX> 162 Disabled service: nxnode.
NX> 162 Enabled service: nxd.# /usr/NX/bin/nxserver –version
NoMachine – Version 6.11.2# cat nxd.log
…
Info: Server started with pid 2516 on Wed Sep 23 03:30:44 2020.
Info: Listening for connections on any interface on port 4000.
Info: Accepting connections from any host with encryption enabled.
Info: Connection from 10.55.55.10 port 39261 accepted on Wed Sep 23 03:52:00 2020.
Info: Connection from 10.55.55.10 port 39261 process 28513 started on Wed Sep 23 03:52:00 2020.
Info: Connection from 10.55.55.10 port 39261 process 28513 closed on Wed Sep 23 03:52:01 2020.
Info: Connection from 10.55.55.10 port 63669 accepted on Wed Sep 23 03:52:01 2020.
Info: Connection from 10.55.55.10 port 63669 process 28536 started on Wed Sep 23 03:52:01 2020.# cat nxserver.log
…
2020-09-23 03:30:44 634.845 2272 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwget.sh ip6tables INPUT’ with pid ‘2444/2444’ finished with exit code 3 after 0,014 seconds.
2020-09-23 03:30:44 635.059 2272 NXSERVER WARNING! Cannot check ip6tables status. Exit value ‘3’. Please check the ‘nxerror.log’ file for possible issues.
2020-09-23 03:30:44 663.324 2272 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwadd.sh ip6tables 4000 tcp 1’ with pid ‘2482/2482’ finished with exit code 1 after 0,006 seconds.
2020-09-23 03:30:44 663.432 2272 NXSERVER WARNING! Cannot add firewall rule for ‘4000’ with ‘ip6tables’ command. Exit value ‘1’. Please check the nxerror.log file for possible issues.
2020-09-23 03:30:44 676.715 2272 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec nxfwadd.sh ip6tables 5353 udp 1’ with pid ‘2491/2491’ finished with exit code 1 after 0,006 seconds.
2020-09-23 03:30:44 676.837 2272 NXSERVER WARNING! Cannot add firewall rule for ‘5353’ with ‘ip6tables’ command. Exit value ‘1’. Please check the nxerror.log file for possible issues.
2020-09-23 03:30:44 683.357 2272 NXSERVER Starting LS 6.11.2 and services.
2020-09-23 03:30:44 683.397 2272 NXSERVER System information: Ubuntu 20.04 LTS, standalone.
2020-09-23 03:52:01 098.103 28513 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec –auth’ with pid ‘28528/28528’ finished with exit code 1 after 0,004 seconds.
2020-09-23 03:52:01 098.252 28513 NXSERVER ERROR! Authentication with ‘NX-password’ from host ‘10.55.55.10’ failed. Error is ‘Wrong password or login’.# cat nxerror.log
…
ip6tables v1.8.4 (legacy): can’t initialize ip6tables table `filter’: Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.
Could not open socket to kernel: Address family not supported by protocol
Could not open socket to kernel: Address family not supported by protocol
2272 2525 03:30:49 393.267 ServerNetworkInfoHandler: WARNING! Obtaining network data failed.
Info: Handler started with pid 28513 on Wed Sep 23 03:52:00 2020.
Info: Handling connection from 10.55.55.10 port 39261 on Wed Sep 23 03:52:00 2020.
28528 28528 03:52:01 097 nxexecPAMCheckCredentials: ERROR!Authentication failed with error 28.
Info: Connection from 10.55.55.10 port 39261 closed on Wed Sep 23 03:52:01 2020.
Info: Handler with pid 28513 terminated on Wed Sep 23 03:52:01 2020.
Info: Handler started with pid 28536 on Wed Sep 23 03:52:01 2020.
Info: Handling connection from 10.55.55.10 port 63669 on Wed Sep 23 03:52:01 2020.# grep nx /var/log/auth.log
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_rootok.so): /lib/security/pam_rootok.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_rootok.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_unix.so): /lib/security/pam_unix.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_unix.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_deny.so): /lib/security/pam_deny.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_deny.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_permit.so): /lib/security/pam_permit.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_permit.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_cap.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_env.so): /lib/security/pam_env.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_env.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_mail.so): /lib/security/pam_mail.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_mail.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_limits.so): /lib/security/pam_limits.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_limits.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_umask.so): /lib/security/pam_umask.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_umask.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_systemd.so): /lib/security/pam_systemd.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_systemd.so
Sep 23 03:52:01 DeepThread nxexec: PAM unable to dlopen(pam_gnome_keyring.so): /lib/security/pam_gnome_keyring.so: cannot open shared object file: No such file or directory
Sep 23 03:52:01 DeepThread nxexec: PAM adding faulty module: pam_gnome_keyring.soSeptember 23, 2020 at 14:09 #29583CatoParticipantHello cpudney,
It appears that you installed NoMachine for 32 bit architecture. To uninstall current version, follow these instructions:
https://www.nomachine.com/DT02O00124#2.7
Next, you should download and install correct package, as described here:
https://www.nomachine.com/download/download&id=3
September 24, 2020 at 16:19 #29596cpudneyParticipantIt appears that you installed NoMachine for 32 bit architecture.
Oh boy – that was all it was.
Working now – thanks.
Chris.
-
AuthorPosts
This topic was marked as solved, you can't post.