title: How to run graphical automation in Azure VM (or similar)
body: <p>I made a python script that runs a graphical automation using pyautogui (mouse movements) over a huge number of PDFs.
  The automation appears to need an active display, for the mouse movements and the PDF to be opened.
  If I connect to the Azure VM (with Windows OS) with SSH and start the python script, I get an error from pyautogui as below:</p>
  <pre><code>pyautogui.FailSafeException:
      PyAutoGUI fail-safe triggered from mouse moving to a corner of the screen.
      To disable this fail-safe, set pyautogui.FAILSAFE to False.
      DISABLING FAIL-SAFE IS NOT RECOMMENDED.
  </code></pre>
  <p>I have tried with the failsafe disable and still it doesn't work.
  As I have read, this happens because there is no active display opened.</p>
  <p>If I connect to the VM using RDP, the automation starts and works as expect until I minimize or close the window. When I do that I get the same failsafe error from pyautogui.
  But I cannot keep the window open, because I would need to start the same automation on 16 more VMs.</p>
  <ol>
  <li><p>Is there a way to run such graphical automations in Azure VMs or any other similar solution? Docker maybe?</p>
  </li>
  <li><p>Is there any solution to run or host VM machines with permanent active display opened? Is something like this possible?</p>
  </li>
  </ol>