I want to autostart a Python script that starts a Tkinter GUI at boot up.
The working terminal command to start the script is python3 /home/pi/Documents/slincam/slincam_menu.py.
I added this command to /etc/rc.local, but the program doesn't show up at boot up. Strangely when I type sudo /etc/rc.local in the terminal, the program starts.
Please, does someone know a solution for this?