This issue tracks using PyAutoGUI on remote machines or headless machines. This is an advanced feature, and I personally am not planning to add it in the near future but I welcome anyone who would want to take a crack at it. Ideally, we'd have solutions for Windows, Mac, and Linux.