PDA

View Full Version : Start Qt Gui Application on start of Embedded Linux device



hakanaktanasis
12th July 2019, 10:55
hi there,

i need to start my application on start of embedded linux device.
Linux is a custom version :Linux 3.12.10-ti2013.12.01 armv7l
device has no login screen, it just starts, so i can't use scripts that starts application on login.
device is here : https://chipsee.com/product/ppca897c/

i think i have to put some *.sh" script that starts my app but i can't find the right information how to do that?

thanx in advance

ChrisW67
13th July 2019, 07:29
i need to start my application on start of embedded linux device.
Linux is a custom version :Linux 3.12.10-ti2013.12.01 armv7l
device has no login screen, it just starts, so i can't use scripts that starts application on login.

In general, the Linux kernel boots and runs a single program that starts everything else.

In traditional systems that program is called "init" and it reads a configuration file "/etc/inittab" to work out what should be started. One entry called the initdefault, typically run level 3, is the the one that starts a desktop environment or other UI program, often through another script (/etc/. This is where to start looking

$ man init
$ man inittab The finer details are distribution-specific.

Systems with systemd might call "init" something else... and it s configured quite differently I expect.

We do not know how this particular vendor has set up their Linux distro. The vendor should provide information specific to their device if it non-standard.