title: Automate a Java GUI, running on an RDP
body: <p>I want to automate a Task in a Java GUI on a RDP machine.
  The task is written in python with pyautogui, so it uses image recognition to know where to click.
  The problem here is, as soon, as I disconnect from the RDP it stops working.</p>
  <p>First I ran into the problem, that pyautogui didnt even find a screen to check. I resolved this by using this workaround: <a href="https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/keeping-computer-unlocked.html" rel="nofollow noreferrer">https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/keeping-computer-unlocked.html</a></p>
  <p>Unfortunately this only really fixed the error shown in the log. I still cant get the program to work properly. It seems that pyautogui is still unable to find an image that I give to it.</p>
  <p>Is there any other way I can attempt this?
  Best would be getting pyautogui to work, as all the code is already written for it, but I am very open for other approaches.</p>
  <p>Kind regards</p>