I have tried a program called Mouse Recorder Pro 2, a device that records and replicates the mouse movement on the desktop when I try it on my VPS from Amazon, it still works well until I disconnect the connection between the VPS by closing the remote desktop connection
Note: VPS is still running from the site and this is the problem
I think I understand your problem, with expertise in VPS management both Linux and windows I shall be able to fix your problem. You can contact me to discuss the problem further.