# How to not display refresh page in kiosk mode when i want to see dashboard nodered?

**URL:** <https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681>\
**Category:** Dashboard\
**Created:** [5 April 2021 07:54 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681 "2021-04-05T07:54:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![faezehFrj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faezehfrj/32/39784_2.png) [@faezehFrj](https://discourse.nodered.org/u/faezehFrj)\
**Post date:** [5 April 2021 07:54 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/1 "2021-04-05T07:54:25Z")

</div>

I'm setting up a pi to run in kiosk mode as per the instructions in dashboard nodered.  
I use this link :[Can I delay chromium in kiosk mode? - Raspberry Pi Forums](https://www.raspberrypi.org/forums/viewtopic.php?t=122143)

Unfortunately the refresh page is displayed.  
what am i doing?

My start-chromium.sh file is:  
#!/bin/bash  
echo "Starting chromium in 5 seconds..."  
sleep 5  
while :  
do  
chromium --noerrdialogs --kiosk [http://192.168.31.144:1880/ui](http://192.168.31.144:1880/ui)  
done

I hope someone can help me.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 April 2021 08:26 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/2 "2021-04-05T08:26:53Z")

</div>

> [@faezehFrj](#):
>
> the refresh page is displayed.

Welcome to the forum @faezehFrj

What refresh page?  
Under what circumstances are you running the script? Is this on boot or something?  
If it is on boot and you rerun the script later does it work? If so then you need to make the delay longer. Have a look in /var/log/syslog to see how long after boot node-red starts up.

---

<div class="post-metadata">

**Author:** ![faezehFrj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faezehfrj/32/39784_2.png) [@faezehFrj](https://discourse.nodered.org/u/faezehFrj)\
**Post date:** [5 April 2021 09:29 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/3 "2021-04-05T09:29:47Z")

</div>

> [@Colin](#):
>
> refresh page

Hello.Thanks for your immediately response.I mean that when raspberry pi boot up i wand show my dashboard since my nodered want several seconds to service,one page displayed that show:  
"This site can't be reached"  
(Ip address) refused to connect  
try:  
-checking connection  
-proxy and firewall  
ERR\_connection\_refused

But after a few seconds, the dashboard appears .  
my code is that i wrote in autostart :

```auto
/usr/bin/chromium-browser --kiosk --disable-restore-session-state http://localhost:1880

```

is my solution correct?do you have another way?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 April 2021 09:38 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/4 "2021-04-05T09:38:02Z")

</div>

As I said in my previous post you probably just need to increase delay to give node-red time to get going. If you time how long it is before it works if you keep refreshing then you will get an idea of how long you need to wait. Probably you need something like 30 seconds.

---

<div class="post-metadata">

**Author:** ![faezehFrj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faezehfrj/32/39784_2.png) [@faezehFrj](https://discourse.nodered.org/u/faezehFrj)\
**Post date:** [5 April 2021 09:56 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/5 "2021-04-05T09:56:22Z")

</div>

Unfortunately this solution does not work.I follow exactly the instructions and instructions of this link that i post befor but it does not go in kiosk mode at all.  
My start-chromium.sh file is:

#!/bin/bash  
echo "Starting chromium in 5 seconds..."  
sleep 30  
chromium --noerrdialogs --kiosk [http://localhost/ui](http://localhost/ui) &

and my autostart file is:

lxpanel --profile LXDE-pi  
pcmanfm --desktop --profile LXDE-pi  
xscreensaver -no-splash  
/home/pi/start-chromium.sh

Where am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 April 2021 10:09 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/6 "2021-04-05T10:09:44Z")

</div>

> [@faezehFrj](#):
>
> it does not go in kiosk mode at all.

Has the longer delay fixed the unable to connect problem?

> [@faezehFrj](#):
>
> chromium --noerrdialogs --kiosk [http://localhost/ui](http://localhost/ui) &

You have forgotten the port 1880 specification. With the port, that command works for me (in Ubuntu). If you type that command in manually does it work? If not then what happens?

---

<div class="post-metadata">

**Author:** ![faezehFrj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faezehfrj/32/39784_2.png) [@faezehFrj](https://discourse.nodered.org/u/faezehFrj)\
**Post date:** [5 April 2021 10:28 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/7 "2021-04-05T10:28:16Z")

</div>

oops.i know, when i want to write this post, i miss it.  
It seems that it does not enter the file at all and the code is not executed.I delete delay,it dose not work 😪

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 April 2021 10:53 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/8 "2021-04-05T10:53:20Z")

</div>

Does the chromium command line work if you enter it in a terminal (just the chromium line).

---

<div class="post-metadata">

**Author:** ![faezehFrj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/faezehfrj/32/39784_2.png) [@faezehFrj](https://discourse.nodered.org/u/faezehFrj)\
**Post date:** [6 April 2021 07:17 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/9 "2021-04-06T07:17:37Z")

</div>

finally I change my solution .I use this link \>[Raspberry Pi Kiosk using Chromium - Pi My Life Up](https://pimylifeup.com/raspberry-pi-kiosk/)  
and add sleep 5 in this file and in the end it worked right.  
Thank you for your time.

---

<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:** [20 April 2021 07:18 UTC](https://discourse.nodered.org/t/how-to-not-display-refresh-page-in-kiosk-mode-when-i-want-to-see-dashboard-nodered/43681/10 "2021-04-20T07:18:09Z")

</div>

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