Autorun Qt GUI app without login.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autorun Qt GUI app without login.

781 Views
f12358
Contributor I

I need some help.

There is the module on iMX8MQ with Yocto inside. Yocto configured to use xwayland.

There is a Qt GUI application, wich shows some pictures on the screen.

- If I run this app manualy, after login with ROOT, all is OK, it's work fine.

- If I run manualy rc.local with lines for start my app, all is good too.

- But if I reboot module, my app doesn't start. App doesn't start without login. It can't find display.

What should I do to autorun app without login?

0 Kudos
Reply
1 Reply

726 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Alexandr Gubanov,

One alternative would be adding a script that launches the Qt GUI application on the init.d file inside /etc/init.d

I hope this helps!

Regards,

0 Kudos
Reply