Will input simulator work on a vm when it is not connected to rdp

Feb 28, 2016 at 5:56 PM
I wanted to try running inputsimulator to type in a textbox continuously in an ec2 instance which is a vm on amazon. It seems like it doesn't type unless I am connected through remote desktop. When I disconnect rdp and come back the typing did not continue even though the vm is supposed to be running.

Does a virtual machine have a virtual mouse and keyboard when it's not connected to a remote desktop?