Autorun Qt GUI app without login.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Autorun Qt GUI app without login.

1,128 次查看
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 项奖励
回复
1 回复

1,073 次查看
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 项奖励
回复