It seem to be possible to run commands on boot without logging in: use `launchctl` under root. However that doesn't seem to work with GUI apps. Target display mode works after boot if disk is not encrypted so logging in is an annoying overhead.