NoMachine

#AcceptedAuthenticationMethods all

AcceptedAuthenticationMethods NX-private-key
#PhysicalDesktopAuthorization 1

To enable disable server connections

By command line

/usr/NX/bin/nxserver —user list (list users and access rights)


sudo /usr/NX/bin/nxserver --useredit pi --screensharing yes