How to start a disp that is based on a DVM with NO apps?

What? How would you have a DVM with no apps?

I saw so much “minimal” in Qubes community so far, so I think it’s not special that I’m using minimal templates too!

I have a DVM that is based on a minimal template with absolutely no apps (only the basic command-lines) and with ‘guivm’ set to ‘none’.

I currently start a disposable based on that DVM with this very dump way: In dom0: qvm-run --nogui --dispvm minimal-dvm -- cat << EOF (so it cat start and not shutdown immediately.)

Then I control that disp (i.e. use it) with qvm-console-dispvm dispxxxx.

This way I can start a disposable that is based on a DVM with no apps, but I think it’s very dump.

Wouldn’t it be better if, for instance, have ‘Start qube’ in the application menu, while in APPS not TEMPLATES, for a dvm to start a disposable instead of the DVM itself (and if one wants to start the DVM itself they can do the same but in the TEMPLATES section instead).

Or am I missing anything? Is there a non-dump way that already exist but I’m unaware of?

1 Like

You might enjoy qvm-shell --dispvm minimal-dvm

1 Like