Auto Run an Application on Raspberry Pi Raspbian Desktop

CanaKit Raspberry Pi 4 (4GB) Starter Kit (Amazon Affiliate)
➡️ Purchase here: https://amzlink.to/az0ZfrkkOaE2j
UK: https://amzlink.to/az0tldMyYgHkO
CA: https://amzlink.to/az02dRfQRpSbE
ES: https://amzlink.to/az0LjL2QjxrJf (similar)
FR: https://amzlink.to/az03BF7ks0KJJ (similaire)
IT: https://amzlink.to/az0TWmA9d7fFm (simile)
DE: https://amzlink.to/az0cV12rz0zJb (ähnlich)
IN: https://amzlink.to/az0KxgOoOocos
AU: https://amzlink.to/az0cjN4OPfBBq
NL: https://amzlink.to/az0yZHtGePHqS (vergelijkbaar)

Raspberry Pi Playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZPvIdR5BEqDgO7DsGAla_AZ

Find the Full Path of an Executable
which chromium-browser
Show the Path of your Home Directory
pwd

Setup autostart for a All Users

Open Global autostart Config for Editing*
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

* You can alternatively use mousepad editor instead of nano

Add Application to autostart File
@/usr/bin/chromium-browser https://www.rickmakes.com

Control-o to save, Control-x to exit

Logout and login to test your configuration. You can alternatively reboot the Raspberry Pi.

Setup autostart for a Specific User

Create Config Directory
mkdir -p .config/lxsession/LXDE-pi
Copy autostart Global Config File
cp /etc/xdg/lxsession/LXDE-pi/autostart .config/lxsession/LXDE-pi/
Open User autostart Config for Editing
nano .config/lxsession/LXDE-pi/autostart
Add Application to autostart File
@/usr/bin/chromium-browser https://www.rickmakes.com

Logout and login to test your configuration. You can alternatively reboot the Raspberry Pi.