backstory - i need to run an adobe air app, which does some things and takes a screenshot of itself and saves out a JPG, then kills itself. (on linux environment)
I have it successfully running on ubuntu in gnome environment. (on EC2, using NoMachine / NXClient remote windowing app)
But what i need, is to run it automated from a script. on the server. When I try running it from commandline (over ssh), i get the error:
Gtk-WARNING **: cannot open display:
So, my question is, How can this be run automated from a script.