# Help with error please - exec node chromium kiosk

**URL:** https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002
**Category:** General
**Created:** [4 March 2021 10:56 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002 "2021-03-04T10:56:51Z")
**Posts on this page:** 17
**Page:** 2

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [4 March 2021 20:26 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/21 "2021-03-04T20:26:19Z")

</div>

> [@FatPilot](#):
>
> Is there something after the '&' in your codeline.

Not really. The `&` is there to force Chromium running in the background. This way Chrome will no longer be "attached" to the terminal that instantiated it.

---

<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: [4 March 2021 20:45 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/22 "2021-03-04T20:45:34Z")

</div>

Probably running chromium from a script has a similar effect to running it explicitly using bash.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 00:01 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/23 "2021-03-05T00:01:39Z")

</div>

Hi @Colin and @Andrei ,  
Thank you both for taking the time to help me.  
The system has now been running for over 3 and a half hours and it's nearly midnight.  
I'll leave it running, and see what has happened when I come down in the morning, which is usually when I find it has failed.

There are still some error messages but hopefully now as they're not being buffered they will disappear into the ether.

The system parameters are stable, cpu utilisation at about 2-3% and memory in use is also stable at under 60% used, despite this message appearing about 4 or 5 times a minuit from the stderr output on the exec node.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/a/7afd77e8e4d5de8c728e7a232e87dcdad0e8116d.png)

We shall see.......

Cheers.  
Paul.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [5 March 2021 00:07 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/24 "2021-03-05T00:07:34Z")

</div>

Quite interesting to learn that Chrome generate so many error messages. Maybe they could be disposed to /dev/null if that helps. I just don´t remember how to do that. I always get confused with the syntax.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 00:17 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/25 "2021-03-05T00:17:29Z")

</div>

Hi @Andrei,  
I'm hoping that they are not now being buffered and will disappear into some bit bucket!

I'll know in the morning and will update.  
I would like to get to the bottom of this though, and have posted on the google chromium help forum.

Try this small flow to see the errors.

```auto
[{"id":"3665f925.450a76","type":"exec","z":"e5593c90.29dda","command":"bash -c \"DISPLAY=:0 chromium-browser --noerrdialogs --disable-infobars --kiosk http://localhost:1880/ui -start-fullscreen\"","addpay":false,"append":"","useSpawn":"true","timer":"","oldrc":false,"name":"Kiosk Display","x":360,"y":80,"wires":[["c3c8d968.9e3898"],["9bc4ab56.ff2458"],["ae8236a8.de0d08"]]},{"id":"4ba01b75.94a9e4","type":"inject","z":"e5593c90.29dda","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":170,"y":80,"wires":[["3665f925.450a76"]]},{"id":"c3c8d968.9e3898","type":"debug","z":"e5593c90.29dda","name":"stdout","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":600,"y":40,"wires":[]},{"id":"9bc4ab56.ff2458","type":"debug","z":"e5593c90.29dda","name":"stderr","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":600,"y":80,"wires":[]},{"id":"ae8236a8.de0d08","type":"debug","z":"e5593c90.29dda","name":"ReturnCode","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":620,"y":120,"wires":[]}]

```

To really see the errors take off add this parameter "enable-logging --v=1"

Cheers.  
Paul.

---

<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 March 2021 09:07 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/26 "2021-03-05T09:07:34Z")

</div>

> [@FatPilot](#):
>
> To really see the errors take off add this parameter "enable-logging --v=1"

That should be `--enable-logging`. Without the `--` it will try to open the url `enable-logging`. What does the `--v=1` do?

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 09:58 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/27 "2021-03-05T09:58:28Z")

</div>

Good morning @Colin & @Andrei ,  
All working fine this morning and its now been running for 13 1/2 hours.

@Colin the ` --v=1` is verbose mode I believe.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/5/d56ff49776a77bc3d90aab99e34df35e7fa59d28.png)

I can see what you are saying about `--enable-logging` and you are correct,

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/566843a9a4dadcdb0172fdcb265d865e58871a16.png)

See this link [https://www.chromium.org/for-testers/enable-logging](https://www.chromium.org/for-testers/enable-logging)

And here is the current list of chromium switches [Switches](https://peter.sh/experiments/chromium-command-line-switches/) 🤯

Just need to find the switch to suppress all error messages.

I will get to the bottom of this.  
I didn't realise I had so much time to waste 🙃

@Colin & @Andrei where in the world are you?

Cheers.  
Paul.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [5 March 2021 12:07 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/28 "2021-03-05T12:07:43Z")

</div>

> [@FatPilot](#):
>
> All working fine this morning and its now been running for 13 1/2 hours.

Nice, good news.

> [@FatPilot](#):
>
> I will get to the bottom of this.

Keep us updated. I suspect I faced this issue in the past but wrongly assumed it was related to Chromium automatic updates.

I will setup a new raspberry for a testing from scratch using the same configuration as you. Just need to buy a new SD Card. It may take a few days to have it tested.

> [@FatPilot](#):
>
> @Colin & @Andrei where in the world are you?

I am hidden in a cave in Brazil waiting for the pandemic to slow down. Of course having a great time with Node-RED. 😀

---

<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 March 2021 12:40 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/29 "2021-03-05T12:40:59Z")

</div>

> [@FatPilot](#):
>
> @Colin & @Andrei where in the world are you?

Mid Wales, UK. Where are you?

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 17:02 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/30 "2021-03-05T17:02:14Z")

</div>

Hi @Colin & @Andrei

I believe I have solved the problem by using the switch `--log-level `  
It sets the **minimum** log level.  
Valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG\_ERROR = 2, LOG\_FATAL = 3

So I used it like this `--log-level=3` and all error messages have stopped!

So the cmd line is now `DISPLAY=:0 chromium-browser --noerrdialogs --disable-infobars --kiosk --start-fullscreen --log-level=3 http://localhost:1880/ui`

🕺

I'm in Norwich, Norfolk, UK.

Thank you both for your help.

Cheers.  
Paul.

---

<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 March 2021 21:12 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/31 "2021-03-05T21:12:32Z")

</div>

You have stopped it logging the errors, but they are still happening.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 21:58 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/32 "2021-03-05T21:58:43Z")

</div>

You are correct. Did you replicate the flow and see if you had the errors also?

It may be that there were always errors but no one has seen them.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [5 March 2021 22:53 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/33 "2021-03-05T22:53:30Z")

</div>

> [@FatPilot](#):
>
> Did you replicate the flow and see if you had the errors also?

I just finished to setup a new Pi. I confirm that I got the very same errors as you. I always see from 6 to 8 errors right after the flow is deployed. I need to let the Pi running a larger period of time to see if more errors appears. I did not take the time to search the meaning of those errors though.

> [975:1027:0305/201703.651634:ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

> [975:1126:0305/201704.914876:ERROR:object\_proxy.cc(621)] Failed to call method: org.freedesktop.DBus.Properties.Get: object\_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

> [975:1126:0305/201704.915777:ERROR:object\_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object\_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files[975:1126:0305/201704.917210:ERROR:object\_proxy.cc(621)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object\_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

> [1020:1020:0305/201705.160159:ERROR:gl\_surface\_presentation\_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [5 March 2021 23:46 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/34 "2021-03-05T23:46:50Z")

</div>

Hi @Andrei,  
Yes those are the same errors that I was seeing.  
I think I'm happy accepting that they are there and just not seeing them.  
At least chromium on the Pi is not failing anymore.

What a huge list of switches chromium has!

log-level valid values are from 0 to 3: INFO = 0, WARNING = 1, LOG\_ERROR = 2, LOG\_FATAL = 3  
The default log-level is 0 which means the messages are not necessarily errors. I didn't systematically go through the different values to see if they were INFO, WARNING or worse.

As I have shown earlier my cmd line in the exec node is now `DISPLAY=:0 chromium-browser --noerrdialogs --disable-infobars --kiosk --start-fullscreen --log-level=3 http://localhost:1880/ui`

And that works for me as I don't have the time or inclination to pursue the messages any further.

Interesting though, will you look deeper?

Cheers.  
Paul.

---

<div class="post-metadata">

### Author: ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)
#### Post date: [6 March 2021 00:13 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/35 "2021-03-06T00:13:08Z")

</div>

> [@FatPilot](#):
>
> Interesting though, will you look deeper?

Hi Paul, I am starting the think that those errors are not critical at all. First off, they are not increasing. I am monitoring with HTOP and don´t see any performance issues. Memory and CPU utilization are low. No crashes observed. I would be concerned if those errors were due to my flows or Node-RED (or some misbehaving node) or Raspian config, which certainly is not the case. Those errors are Chromium specific. I will not dive deeper in the investigation unless some crash happens in my setup. Indeed the amount of configurable flags in Chrome is huge which makes troubleshooting even harder. Anyway it was good to track this thread as I have learnt a new way to trigger the kiosk mode.

---

<div class="post-metadata">

### Author: ![FatPilot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fatpilot/32/38329_2.png) [@FatPilot](https://discourse.nodered.org/u/FatPilot)
#### Post date: [6 March 2021 00:19 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/36 "2021-03-06T00:19:36Z")

</div>

Hi @Andrei,  
I am always learning.  
The nice thing about triggering kiosk mode this way, is that it can be turned on and off by enabling or disabling the exec node, and then doing a deploy from the development pc.

Nice chatting, I'm sure our paths will cross again.

Cheers.  
Paul.

---

<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 March 2021 00:19 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002/37 "2021-03-20T00:19:58Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002.md?page=1)
