I have been using Citrix to remote into a Windows 7 machine that's running Ubuntu in VirtualBox. The issue I ran into was repeated characters all over the place. I tried a few things but the following is what worked for me:
On your virtual machine (guest) type xset r off
This will turn off repeat.