Can't create disposable vm

Good afternoon,
So I want to create a disposable vm from (anon-whonix) but can’t. I get this error …

app: Error creating VM: Got empty response from Qubes. See journal to in dom0 for details…

I look at my journal but only see just normal stuff…Xen,kernel…etc

I have tried to make this (anon-whonix) dispvm both as root and user. Still same thing

Any help would be great

please provide as much detail as you can so others can help you. Things like:

  • what commands did you run?
  • what documentation have you read and were following?

Use the documentation of (Disposable VM Customization)

Following the ( Creating a new DisposableVM Template)

With these command…

[user@dom0 ~]$ qvm-create --template anon-whonix --label red custom-disposablevm-template

I hit enter to input and get 

app: Error creating VM: Got empty response from Qubesd. See journal to in dom0 for details…
1 Like

But do you actually have a VM with such name? You are trying to create a disposableVM based on this VM.

I see what the issue is. You’re selecting anon-whonix as the template. However that is not possible as `anon-whonix is not a Template (it’s an AppVM). The template you probably want is whonix-ws-15, which is also the same

[user@dom0 ~]$ qvm-create --template whonix-ws-15 --label red custom-disposablevm-template

And then you continue with the other commands suggester per documentation:

[user@dom0 ~]$ qvm-prefs custom-disposablevm-template template_for_dispvms True
[user@dom0 ~]$ qvm-features custom-disposablevm-template appmenus-dispvm 1

Alternative solution

If you want another anon-whonix, why not just clone?

[user@dom0 ~]$ qvm-clone anon-whonix custom-disposablevm-template

Thank you deeplow. I will give them a go and I believe you have it right

1 Like

If I clone, isn’t there some kind of link still between both and if the clone he s infected won’t this also infect the other one it was cloned from?

If you clone an infected the new one will also be infected. If you clone an AppVM that is not infected and the clone gets infected the original AppVM does not get infected.

Thanks brother

qvm-create --template anon-whonix --label red custom-disposablevm-template

Others in this thread have already explained dispvm templates. For the
benefit of other reading this thread later let me add:

  • anon-whonix is a appvm based on the whonix-ws template
  • one can make it or any other appvm into a template for dispvms by
    setting the respective property as discussed in this thread
  • one can also use qvm-create to create a named dispvm like so:

qvm-create --class DispVM --template dispvm-template --label red

…where dispvm-template is the appvm with the template_for_dispvms
property set and named-dispvm is the name of the named dispvm to be created.

Such named dispvms behave just like the randomly named ones (disp1234)
in that there is no persistence at all, but it will always have the same
name and be listed in the Qube Manager.