Skip to content

Instantly share code, notes, and snippets.

@aanari
Last active April 26, 2021 03:55
Show Gist options
  • Save aanari/ea15dcb800c57b3e2532c38d9c9de55d to your computer and use it in GitHub Desktop.
Save aanari/ea15dcb800c57b3e2532c38d9c9de55d to your computer and use it in GitHub Desktop.
Fix Auth for NoMachine 7.X
# Run as root
cp /etc/pam.d/nx /etc/pam.d/nx.bak
cp /etc/pam.d/sshd /etc/pam.d/nx
# Depending on where nxserver binary lives:
/etc/NX/bin/nxserver –useredit <username> –administrator yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment