Sounds like a problem with the nx client. The nxagent is fine since (if I understand you correctly) you can reconnect to the session and everything is still running as expected. It sounds like you are running the nx client on windows. Have you tried disabling directdraw in the nx session config?