Hi fellow programmers.
I am trying to make my python script auto-boot on startup in Linux / Raspbian on my Raspberry Pi 3.
I followed this tutorial: http://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/?ALLSTEPS
When I do sh launcher.sh my GUI opens and everything works fine. But when I boot nothing shows up.
When going to the crontab logs I get the following error:
Traceback (most recent call last):
File "CCM-Interface.py", line 76, in <module>
root = Tk()
File "/usr/lib/python3.4/tkinter/__init__.py", line 1854, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable