I have a raspi that I want to have run a python script on boot .
I did this after boot to gui using a line in /etc/xdg/lxsession/LXDE-pi/autostart
and I see the script is running with ps but 'headless' - the tty is ? and I don't see any output at all - and it doesn't write to its logfile (which it does if i start by hand)
If I boot to cli and run my script from rc.local then at least I see its output .
However now it doesn't seem able to run the movie (using omxplayer) that I need to run on boot,
and furthermore this method is 'unstoppable' - ctrl-C doesn't stop the script so I have
to kill remotely by ssh.
There is a 'pipresents' package that museaums use for this kind of thing - so I know its possible.
Anyone have some avenues to check?