cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
1,000 Views
Registered: ‎01-10-2018

PetaLinux exec app immediately after login

I am running PetaLinux 2015.4 on the Zynq zc702. I have implimented HDMI support based on the targeted reference design, and the first thing to appear on the monitor is the login prompt. What I want to do is immediately execute a built-in app following the user login on the HDMI terminal. I have read the documentation on autorun apps, but nothing which executes after login, only before; and I have not seen a way to specifically execute an app from a script on the HDMI output as opposed to the default serial console PS0. Is this possible?

0 Kudos
Reply
2 Replies
Mentor
Mentor
991 Views
Registered: ‎02-24-2014

Assuming that your login user is configured to use the bash shell, you can launch an arbitrary application at the end of the .bashrc file.

Don't forget to close a thread when possible by accepting a post as a solution.
0 Kudos
Reply
Visitor
Visitor
959 Views
Registered: ‎01-10-2018

Just tried that and it executed before the login prompt, not after login. I need this program to automatically run following a successful login. Can that be done?

0 Kudos
Reply