Run firefox --kiosk on my DPI screen just when page is correctly created

Hi all,

I would like run firefox --kiosk 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.

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

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

and I run node-red with a service

Use a trigger node and an exec node together.

Many thanks. I'm using Debian 11 and how can I detect if web page is ready?

With an ui_control node. When any browser client connects or loses connection, changes tab, or expands or collapses a group this node will emit a msg

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