I am trying to run Qt program binary on boot up. I followed this process: https://www.stuffaboutcode.com/2012/06/raspberry-pi-run-program-at-start-up.html
and made a script. I am able to start and stop the script and it works fine, but when I enter the command “sudo update-rc.d NameOfYourScript defaults” and restart my board, it does not run at boot up.
How can I make my script run at boot up?
I would really appreciate any help.
Just use slim and openbox, see what i did here:
Once tuned correctly, your qt app will be up within 15seconds of power on..
I am able to get it working on beagleboard using slim and openbox, but its not working on my beagle clone. As in my beagle clone I don’t have the HDMI display connected at the startup, and slim does not launch. How can I get slim to launch even if nothing is connected at HDMI, the way lightdm does?
I finally got it working following procedure at the bottom of this link: https://gist.github.com/interwebjill/0b3dcdc56d2d9f0b646534a6207899f7
sudo vi /etc/xdg/autostart/myapp.desktop
Copy following in the file:
Comment=Startup Myapp on load
And just restart, and Qt program loads at bootup.