I have written a c# code to run on a vps, in which I have used Clipboard class.
When I am monitoring the vps using vnc-viewer (tight vnc) the Clipboard-based operations fail. But it works fine with team viewer. 

I also disabled clipboard transfer option on the vnc viewer, but the problem still existed.