[CentOS] keyboard and mouse not working on vnc when vmware tools installed

Mon Mar 26 07:30:11 UTC 2012
Janez Kosmrlj <postnalista at googlemail.com>

I had some trouble  with centos 6 installed on ESXi 5. Vnc didn't work
properly until i removed the file /etc/xdg/autostart/vmware-user.desktop.

I found the solution in this thread on vmware forums:

The same solution applies to xrdp since it uses vnc.

Maybe this helps someone find the solution faster.