VM out of disk, LXD VM agent won't start up. How do I recover?

Summary

I created Linux Mint desktop VM. After installing a few software packages, I ran out of disk space. Now the LXD VM Agent won’t start up, xrdp is failing to launch the desktop environment, and sshd isn’t running either.

How can I recover from this type of situation? Is there a way to access the VM disk and remove some files, so I can attempt to get it running properly again?

lxc console either directly (text) or with --type=vga can be used to access the VM console and recover it.

1 Like