Pausing VMs kills recording

Hi there,

Just wondering is there any workaround for when I pause my VM for the day and when I reopen it the following day all my recordings are dead. I tried pausing the recording and unpausing the recording after the VM restarted but that also didn’t restart.

Any tips?

Thanks
David

What guest OS does the VM run?

What do you mean by “dead”?

Any output in the shell which started asciinema rec? Or you’re recording headless, using e.g. systemd service unit?

So the guest VM is Kali and when I mean dead I mean I go to the terminal where asciinema was previously recording and type in further commands and it is no longer recording (unknown to me) following the VM pause.

Can see in the image below I pause at the red line after the first date command and after coming back and issue the second date command the playback in the next screenshot doesn’t register the 2nd date command so the recording has in fact stopped.

The recording is started automatically via zshrc with asciinema rec -i 0.001 /logs/datetime.cast

Hope that helps

Playback not showing 2nd date command:

Out of curiosity: How does something like

tail -f /var/log/messages

Does this resume putting out new lines after you un-pause the VM?