If you’re running a vanilla Ubuntu instance inside Oracle’s VirtualBox software then you can easily install Oracle’s driver pack which helps your virtual PC to run smoothly.
It’s less easy in Kubuntu though, so here’s a quick walkthrough on how to do it: