Thanks, this is exactly what I wanted.
This is unrelated, does anyone know how to get sound working? (Ubuntu 12.04). The remote server is s VPS and does not have a physical sound card.
I tried installing pulseaudio control from ubuntu software center, but I still can’t get any sound on my windows client.