WRT to current problems with autostart. This has had me tearing out my hair. Comments on other blogs referring to unnecessary and undocumented changes in the autostart function on Raspbian appear to be studiously ignored by the implementation team.
Command lines that SHOULD work, and do work - as command lines, especially those using @lxterminal, usually result in a fleeting glimpse of an empty lxterminal, and no program/shell launch.
I can confirm that the later comments in this topic contain correct advice, based on my own findings.
Below I quote the launch of a socket server written in python3, which successfully reports progress to the terminal, after launching at restart.
Code: Select all
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@lxterminal -e python3 /home/pi/radserverv1.4.py server 192.168.1.121
1 - IGNORE man page for lxterminal which implies a STRING for command list. (IOW DON'T quote it!)
2 - IGNORE advice urging preceding python or python3 with ‘/usr/bin/’.
3 - Make the (autostart) file executable by everyone.
4 - Make the (autostart) file belong to group/user pi:pi
5 - IGNORE advice about deleting splash screen etc. In fact, ignore ANY advice preceding 2017 – it will probably be wrong for this (jinxed)