IN a default installation on NX server root access is disabled. To allow root login just follow those simple steps.
and substitute line reading
#EnableAdministratorLogin = "0"
EnableAdministratorLogin = "1"
save the file and exit.
and run in shell as a root user:
/usr/NX/bin/nxserver --useradd root
this is it. Changes will take affect immediately.