Forum / NoMachine for Linux / Unable to connect to NX Server / Reply To: Unable to connect to NX Server
![](https://forum.nomachine.com/wp-content/uploads/2019/07/1avatar-3.png)
I’m not 100% certain it is a X problem.
As the syslog lines
Nov 5 17:16:44 linux-ypbf nxexec: PAM unable to dlopen(/lib64/security/pam_pwcheck.so)
Nov 5 17:16:44 linux-ypbf nxexec: PAM [error: /lib64/security/pam_pwcheck.so: undefined symbol: pam_syslog]
Nov 5 17:16:44 linux-ypbf nxexec: PAM adding faulty module: /lib64/security/pam_pwcheck.so
are suggesting it seems to be a pam problem.
And de facto the pam module on my distro seems buggy
ldd -r /lib64/security/pam_pwcheck.so
undefined symbol: pam_syslog (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_set_data (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_get_item (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_vprompt (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_set_item (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_get_data (/lib64/security/pam_pwcheck.so)
undefined symbol: pam_prompt (/lib64/security/pam_pwcheck.so)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b94f060f000)
libcrack.so.2 => /usr/lib64/libcrack.so.2 (0x00002b94f0813000)
libxcrypt.so.1 => /lib64/libxcrypt.so.1 (0x00002b94f0a20000)
libc.so.6 => /lib64/libc.so.6 (0x00002b94f0c5c000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
As a check I’d like to avoid using the PAM module for authentication.
Is this possible with the free version?
I tried this in the config file:
diff /usr/NX/etc/server.cfg /usr/NX/etc/server.cfg.old
242c242
< EnableUserDB 0
—
> #EnableUserDB 0
266c266
< SSHDAuthServer 127.0.0.1
—
> #SSHDAuthServer 127.0.0.1
272c272
< SSHDAuthPort 22
—
> #SSHDAuthPort 22
But it does nothing.