AnsweredAssumed Answered

Need to launch app automatic after autologin completes

Question asked by Sreedhar A on Oct 4, 2019
Latest reply on Oct 11, 2019 by Victor Linnik

Hi,

 

I am able to do autologin as suggested by victor in earlier thread.

Auto login and execute the custom script on bootup on iMX8M Mini 

 

My requirement is to launch the application after the auto-login succeed and i tried writing myscript.sh placing the commands in it.

 

i have placed the myscript.sh in the /etc/init.d/ location.

after that changed the permissions using chmod a+x.

executed : sudo update-rc.d myscript.sh defaults

 

and rebooted the target.

 

But my application did not launch.

 

#2) When i tried to  execute the aplication in the /etc/rc.local

     it is preventing the autologin and stuck saying a job is running ......and stuck there.

 

 

Could you please suggest, how i can launch my app after everything is fine including auto-login.

 

thank you, sreedhar

Outcomes