I have a python script I have been writing which slideshows images on my R-Pi, I'd like to be able to run it from SSH if possible.
When I run the script with
> python node.py
I get an error...
I am guessing this is something to do with the way I am connected remotely and the desktop are separate?
Code: Select all
Traceback (most recent call last): File "node.py", line 65, in <module> root = MyApp() File "node.py", line 7, in __init__ Tk.__init__(self) File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1688, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: no display name and no $DISPLAY environment variable
Is it possible to run the script via SSH and have it affect the desktop?