It cannot generate a virtual display. It only uses attached displays which by default are real powered on monitors.
I’ve gotten around this on windows with parsec and a virtual display adapter that someone keeps updated on GitHub which can spawn backup displays if none are present, but I find still sometimes fails to spawn them. Parsec is fairly reliable at spawning them when the windows solution fails but it’s not perfect either.
A hack job virtual display on Linux will be more difficult to work with. It’s going to eat my desktop and be fairly hidden.
Dummy plugs exist, but I specifically don’t want to put dummy plugs in all my remote hosts. Seems like an unga bunga solution to something which should be software.
Something with VNC or simply ssh with some scripting could be the workaround I use to get back in when a virtual display fails to work as expected, but I am lazy and want something effectively bulletproof.