I am trying to get the python GUI package Tkinter running on the BeagleBone Black (debian Jessie) to connect to the display. I get this error when running a simple test script over ssh, but not when running the script locally:
root@beaglebone:/boot# python /home/debian/oqy/tktest.py
No protocol specified
No protocol specified
Traceback (most recent call last):
File "/home/debian/oqy/tktest.py", line 3, in <module>
root = Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0.0"
How can I configure the X11 server to find the right display via ssh?