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.
Copy/paste to work add these
sudo apt-get install autocutsel
add this line(autocutsel -fork) in: vi /home/b37399/.vnc/xstartup
autocutsel -fork
like this
#!/bin/bash
xrdb $HOME/.Xresources
autocutsel -fork
startxfce4 &
restart vncserver