Putting it in the users autostart file should have worked. Don't use "sudo" that file belongs to the user. nano ~/.config/lxsession/LXDE-pi/autostart Mine contains this, it starts both a shell script and a Python script. @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver ...