I’ve been playing with Yocto builds for some time already and now I was interested in making a read only system through the read-only-rootfs approach.
After solving the pck_postinst issues, I flashed the image and it worked just fine, except for the desktop that it never appeared (nor the touchscreen calibration screen). I tried the following commands with the following outputs:
# xrandr Can't open display: 0.0 # lxpanel (lxpanel:1203): Gtk-WARNING **: cannot open display: : 0.0
Also, the Qt programs don’t launch (expected). Login, ssh and other native programs work without any issue.
I’ve tried rebuilding the image without read-only-rootfs to check if I messed up in the postinst scripts, but the LXDE Desktop worked as expected.
If it helps, at boot time, I have several FAILED flags, which I’m guessing it would have something to do. You may find a couple of screenshots attached.