play video/image after boot

i want to start a video or display an image automatically after boot without showing ubuntu Home screen.

i tried putting video/image play commands in “/etc/rc.local” and “/etc/init.d/myscript.sh” and “crontab -e” and “.bashrc” but no success in all these try.

if i put some simple commands like mkdir / cp these are executed @boot.

So what’s the correct way to do this on jetson-TX1.

If you’re using L4T/Ubuntu, you could probably put the commands into the lightdm launch script, see: Run a startup script with lightdm - Ask Ubuntu