I have a python gtk app I need to run when a user logs in. I can't get upstart to launch any gui app, even if x is running.
When I'm signed into X, and I emit the event from the upstart script below
guitest
with initctl, I get
initctl: Event failed
Here is an example of my script, except I've replaced gedit with my app. How can I modify this script so gedit or my python gtk app will launch?
task
start on desktop-session-start or guitest
script
gedit
end script