I had the same issue. I followed this advice:
1) try launching NoMachine’s own framebuffer. So kill X (sudo init 3) and restart nxserver. NoMachine will create its own virtual framebuffer. You should be able to connect and change the resolution.
That is a MILLION times better. Thank you.