# Auto start node-red on boot using termux on Android 10

**URL:** <https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805>\
**Category:** General\
**Created:** [17 January 2022 14:23 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805 "2022-01-17T14:23:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lfilipe](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lfilipe](https://discourse.nodered.org/u/lfilipe)\
**Post date:** [17 January 2022 14:23 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/1 "2022-01-17T14:23:11Z")

</div>

Hi guys,

I want to run a node-red flow in Kiosk mode on my tablet (android 10) and for that I need to run node-red on boot. I tried termux:boot already, I did all the steps required but without success.

If anyone knows how to solve this issue I'll be appreciated.  
Thanks.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [17 January 2022 15:41 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/2 "2022-01-17T15:41:00Z")

</div>

Is the android 10 device rooted, if so you can use shell commands, using automate app to type node-red in the termux command window and send return, Automate can trigger on system reboot.

---

<div class="post-metadata">

**Author:** ![lfilipe](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lfilipe](https://discourse.nodered.org/u/lfilipe)\
**Post date:** [17 January 2022 17:08 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/3 "2022-01-17T17:08:24Z")

</div>

Hi, thanks for your repply.

I did those steps with termux:boot and after with tasker and termux:tasker, but when device boots nothing happens.

But my device is not rooted do you think that´s the problem?

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [17 January 2022 17:20 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/4 "2022-01-17T17:20:50Z")

</div>

I have it working on an android 8 device, no turmux boot. I just use Automate to start termux, then send shell command to type node-red and send enter. Yes the device has to be rooted.

---

<div class="post-metadata">

**Author:** ![lfilipe](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lfilipe](https://discourse.nodered.org/u/lfilipe)\
**Post date:** [17 January 2022 18:49 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/5 "2022-01-17T18:49:45Z")

</div>

Ok. Let me check if I understand. You boot termux and execute a shell command to start node-red and you did all those tasks with Automate.

To do those tasks, the device must be rooted. Correct?

Thanks for your help

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [17 January 2022 18:58 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/6 "2022-01-17T18:58:41Z")

</div>

Yes, and it been running for over a year no issues. I can even remote reboot the device. via cloud messaging.

---

<div class="post-metadata">

**Author:** ![lfilipe](https://avatars.discourse-cdn.com/v4/letter/l/c67d28/32.png) [@lfilipe](https://discourse.nodered.org/u/lfilipe)\
**Post date:** [17 January 2022 20:18 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/7 "2022-01-17T20:18:42Z")

</div>

Thank you very much for your help 👍  
Regards.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 March 2022 20:18 UTC](https://discourse.nodered.org/t/auto-start-node-red-on-boot-using-termux-on-android-10/56805/8 "2022-03-18T20:18:54Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
