I started a new job recently and I was given an ubuntu vm with nxserver and a (sigh) Windows machine as my main box. I haven’t used NoMachine since my Orbitz days and the first few hours reminded me how much I hate NoMachine. And Unity but that’s another issue.
I was able to install wmii (I’ve tried dwm, awesome and a few others but, for some reason, I keep coming back to wmii) but wasn’t able to start it using NoMachine! No matter what I tried NoMachine just kept fighting me.
TightVNC worked fine but I dislike TightVNC client so I didn’t bother with it.

Struggling for some time with it I finally got it working correctly.
The standard .xsession/.xinitrc didn’t work so I simply hacked the nxserver config (mine was in /usr/NX/etc/node.cfg) to:

CommandStartKDE = "/etc/X11/Xsession wmii"
# CommandStartKDE = "/etc/X11/Xsession startkde"

Yes, I know, durty durty. I don’t care. It works now. Oh, one more thing, make sure that you enable “Grab the keyboard when teh client has focus” under the Advanced tab of NoMachine client settings otherwise it won’t recognize your meta key.

Yay NoMachine! -_-
But at least my workstation is how I like it now.