Problems running UE4 game on AWS G2 instance - cloud gaming

Hello people, I have an annoying problem trying to play a UE4 shooter type game remotely on an AWS g2 instance.

We managed to set up everything (so I can access form my lame mac book) both via Microsoft remote desktop and team viewer, the game runs fine, but…

There’s a problem with the mouse, it seems to lose control and behave erratically, which means I can’t point at things… This is an Unreal based shooter style game in development that works perfectly on a local PC.

Our best guess is that this is because the g2 instance doesn’t have a display connected (running headless) did anyone came across this issue or has any idea how to repair it?

Thank you!