using non-default dispvms in 4.0

68 views
Skip to first unread message

Joshua Thayer

unread,
Sep 28, 2017, 8:55:47 PM9/28/17
to qubes...@googlegroups.com
Hi, I'm trying to use non-default disposable VMs in Qubes 4.0 and
running in to problems. My dom0 and AppVM templates are up to date with
the testing repos as of today.

My understanding from reading documentation and various mailing list
threads is that in Qubes 4.0 it should be possible to specify a template
to use when using disposable VMs using a syntax like:

    $ qvm-open-in-vm '$dispvm:kitten-dvm' ./cute-kitten.jpg

Assuming a VM named `kitten-dvm` exists on your system, and it has its
`template_for_dispvms` pref set to True via `qvm-prefs`, and the
appropriate policy is set in `/etc/qubes-rpc/policy/qubes.OpenInVM`...
in this case:

    $anyvm '$dispvm:kitten-dvm' allow

However, I consistently get "Request refused" when running the example
`qvm-open-in-vm` command above even when using the target_vmname
`$dispvm:fedora-25-dvm`.

Any help understanding how to use the new-style dispvm specification
would be appreciated!

signature.asc

Marek Marczykowski-Górecki

unread,
Mar 18, 2018, 11:09:18 AM3/18/18
to Joshua Thayer, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
See journalctl in dom0, you'll find details about the reason for the request
refused.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlqoCBkACgkQ24/THMrX
1yyRDQf/S4zlKBLiIg91CDQRPm4dlYmwYy6sT9aJDZl13IFAKqbU4wdLVA4XpQ2H
bpa03IHPq1m+MxQXmhPfMnpnUYDI/cQE8UGjFW8girAqoJ6vSntp3OK3B3glh6MH
3ZAa+HS73uE8FqyBj6cKGjej91EEbPWZMVkrqC/lgbxVhFLXZv2XYKfq4GnE18oT
v9Mkkirashi7GsGswV8CNcB3w4IqrlPeiEEn3QAbasnC9UzW0NA6nLwMe7igU5Bk
1WLs5NRxawNkINuPYD3caVKPAMF7baLdmJzg0wl6F8LfZ1998U5D4j/STCLXJeoT
KST8GbgkbRV8bOXEG5HyuaqeZnxtGA==
=algA
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages