Linux version opens windowed… sometimes

I’m running on a Raspberry PI cm4 with a Waveshare 5” amoled display. When running the following script from a remote terminal, everything works as expected and RealDash opens in full screen. When i use crontab and run it @reboot, it opens windowed. I’ve checked to ensure the settings are set to full screen and have ensured the last state of RealDash was fullscreen before exiting.

Any ideas?


export DISPLAY=:0

I figured it out, adding a sleep so the window manager had time to render before opening RealDash fixed it up.