I have a RPi connected to a small screen, and I can connect to the device using SSH. I want to be able to open applications/send keystrokes that will show up on the desktop.
Ideally I would like to host a flask server on the pi that can interact with the desktop when I make requests to it. I currently have a flask server on the device, and I have no issues starting processes, running background tasks, but opening GUI applications is eluding me.