This is excellent. Well done and thank you!
I've just done a clean install of 9.04 Desktop in a VM, installed nomachine, did the updates, and it exhibited the aforementioned problems. Applied your fix and everything was back to normal.
I've just repeated the exercise on a spare laptop here with exactly the same results.
Many thanks.
Bookmarks