1

I have two programs that I want to autostart with LXDE-pi. One starts but the other doesn't. Here is my LXDE-pi

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@/usr/local/bin/xastir
@/home/pi/ecs/ecsARM.bin

xastir starts perfectly in gui but the ecsARM.bin does not start correctly because it gives an error that a file is not found. If immediately afterwards I enter /home/pi/ecs/ecsARM.bin in a terminal window it opens perfectly. I can start ecsARM.bin as a service perfectly but not in LXDE-pi. Any ideas welcome.

1 Answer 1

1

The problem is the script xastir that lock the console and doesn't exit.

You can confirm that problem (in your xastir script) if the issue disappears appending an & after the xastir call line.

The final output will be:

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
@/usr/local/bin/xastir &
@/home/pi/ecs/ecsARM.bin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.