Run Qt on Boot up

Hi All,

I am trying to run Qt program binary on boot up. I followed this process:
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..


Hi Robert,

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?

Thank you

Hi Robert,

I finally got it working following procedure at the bottom of this link:

  1. sudo vi /etc/xdg/autostart/myapp.desktop

  2. Copy following in the file:

 [Desktop Entry]
 Comment=Startup Myapp on load

And just restart, and Qt program loads at bootup.

Thank you