My Balena application is starting X and a webbrowser at the end of the docker container entrypoint.sh.
But before that point, e.g if something goes wrong, is there a way to tear down the splash image and let the user see what is printed to stdout/stderr?
You can see stdout/stderr on the balenaCloud log terminal window, but I suppose that is not accessible to your users? There are other options for capturing this log data: All About Logging on balenaOS
Perhaps you could capture this data and display it after X starts, though if something goes wrong before X starts that may not be possible. Can you provide more details about what you’re trying to detect?
Access to balenaCloud terminal is not an option.
I simply have a certain action during the entrypoint that can take a long time to execute.
It is rare, but when it happens, I would like to somehow display to the user what is going on.
So waiting until X starts is also not an option.
I could maybe start X earlier, but that is not my preferred option.