Just some sharing of research
I did some testing and i wanted to have the Pi startup into my application directly without interaction and as smooth as possible, so no logs or splash screen.
In this sample i will run the demo game
AGKPi/General/SplashScreen/SplashScreen
Make sure you have SSH enabled so you can access the console in case you have trouble accessing it by GUI !
// create the directory if it isn't there yet
> mkdir -p .config/lxsession/LXDE-pi
// echo the application to startup it into the file directly
> echo AGKPi/General/SplashScreen/SplashScreen > .config/lxsession/LXDE-pi/autostart
// or edit/create the autostart
> nano .config/lxsession/LXDE-pi/autostart
contents of the file:
AGKPi/General/SplashScreen/SplashScreen
// to stop the autostart, easiest is just remove the file
> rm .config/lxsession/LXDE-pi/autostart
// silent boot
// first copy the original boot configuration
> cp /boot/cmdline.txt ~/cmdline.txt.bak
// edit the boot configuration (parameters quiet, loglevel, consoleblank, vt.global_cursor, logo.nologo
> sudo nano /boot/cmdline.txt
sample of contents of the file:
console=serial0,115200 console=tty1 quiet loglevel=0 consoleblank=1 vt.global_cursor_default=0 logo.nologo root=PARTUUID=2012585d-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
//restore the original boot configuration
// sudo cp ~/cmdline.txt.bak /boot/cmdline.txt
If you have any suggestions, please feel free!
edit: added SSH tip