Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Gaurav Pathak on December 30, 2013, 01:51:14 PM

Title: System Hangs on addition of Custom App in system startup
Post by: Gaurav Pathak on December 30, 2013, 01:51:14 PM
Hi,
I have A20-Olinuxino-Micro board with A20 SoC. I have one .jar file along with config.properties, I want to execute this .jar file when system starts up, so I have added a simple shell script in "Session and Startup" to start the Java Application.
The issue that I am facing is my Application and System (board) get hang when Application is started and there is no any response from application as well as System.
Any suggestions???
Title: Re: System Hangs on addition of Custom App in system startup
Post by: Gaurav Pathak on January 02, 2014, 08:57:15 AM
Finally got the solution actually the Java Application required to be run in terminal that's why it is getting hang on start-up. I have modified my shell script and started a new terminal by adding line
xfce4-terminal -e "/path/to/my/shell/script"
and it worked.