# Run firefox --kiosk automatically

**URL:** https://discourse.nodered.org/t/run-firefox-kiosk-automatically/65155
**Category:** Dashboard
**Created:** [15 July 2022 17:31 UTC](https://discourse.nodered.org/t/run-firefox-kiosk-automatically/65155 "2022-07-15T17:31:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![denissanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/denissanga/32/48346_2.png) [@denissanga](https://discourse.nodered.org/u/denissanga)
#### Post date: [15 July 2022 17:31 UTC](https://discourse.nodered.org/t/run-firefox-kiosk-automatically/65155/1 "2022-07-15T17:31:00Z")

</div>

Hi all,  
**1)** I would like run firefox --kiosk [http://127.0.0.1:1880/ui](http://127.0.0.1:1880/ui) on my screen just when page is correctly created by node-red service and not before, because running it on boot a page of unreachable page appears.  
**2)** secondly I would remove auto lock screen or turn off screen after time  
**3)** I would reset the size screen dimension of firefox page to 1024x600

until now, following some tutorial I'm using lightdm service and I set in

/etc/lightdm/lightdm.conf-\> display-setup-script=/root/runFirefox.sh

where in runFirefox.sh I have

```auto
firefox --kiosk http://127.0.0.1:1880/ui

```

and I run node-red with a service

**4)** I would like that node-red service and lightdm service restarts after errors, and in case of lightdm service it must restart after node-red restart correctly

maybe startx is better?  
thank you really much

---

<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: [14 August 2022 17:31 UTC](https://discourse.nodered.org/t/run-firefox-kiosk-automatically/65155/2 "2022-08-14T17:31:10Z")

</div>

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