Mir kiosk service inactive after reboot

On ubuntu server 20.04, after a reboot mir-kiosks does not start and is inactive:

$ snap services
Service                          Startup  Current   Notes
lxd.activate                     enabled  inactive  -
lxd.daemon                       enabled  inactive  socket-activated
mir-kiosk.daemon                 enabled  inactive  -

I have configure it like:

sudo snap set mir-kiosk daemon=true
sudo snap start --enable mir-kiosk

Why it does not automatically start?

The format of /var/snap/mir-kiosk/current/miral-kiosk.display was invalid.