I have set up a python script, that uses tkinter to launch a window and display some data.
My goal now is to let the Pi run this script after boot. For this, I tried many ways I found on the internet. I tried rc.local, crontab, lxsession, but nothing did the job.
What I've tried so far in case of lxsession: As I could not find the Lxsession configurator in the toolbar menu, I tried to edit the autostart file in
/home/pi/.config/lxsession/LXDE/autostart
Intending to start my program I added
@/home/pi/desktop/script.py
at the bottom of the file, but my script still did not run on boot.
Thanks for help VRK