Autorun Qt GUI app without login.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Autorun Qt GUI app without login.

1,129件の閲覧回数
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,074件の閲覧回数
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 件の賞賛
返信