disp vm template not working in fedora 31

75 views
Skip to first unread message

galth...@gmail.com

unread,
May 4, 2020, 12:13:55 PM5/4/20
to qubes-users
Hello, I hope someone can help with this.

I have a modified fedora 31 template which I want to use as a disposable VM.

I have done this:

Created a app vm called my-dvm based on my-f31-template using the qubes manager

In the dom0 terminal:

qvm-prefs my-dvm template_for_dispvms True
qvm-features my-dvm appmenus-dispvm 1


There are no error messages but I dont get the 'Disposable' entries in the start button menu. So I did this:

qvm-appmenus --update --force my-dvm

my-dvm: Creating appmenus
Traceback (most recent call last):
  File "/usr/bin/qvm-appmenus", line 9, in <module>
    load_entry_point('qubesdesktop==4.0.20', 'console_scripts', 'qvm-appmenus')()
  File "/usr/lib/python3.5/site-packages/qubesappmenus/__init__.py", line 644, in main
    appmenus.appmenus_update(vm, force=args.force)
  File "/usr/lib/python3.5/site-packages/qubesappmenus/__init__.py", line 541, in appmenus_update
    self.appmenus_create(vm, force=force, refresh_cache=False)
  File "/usr/lib/python3.5/site-packages/qubesappmenus/__init__.py", line 256, in appmenus_create
    dispvm):
  File "/usr/lib/python3.5/site-packages/qubesappmenus/__init__.py", line 140, in write_desktop_file
    raise DispvmNotSupportedError()
qubesappmenus.DispvmNotSupportedError: Creating Disposable VM menu entries not supported by this template


How can I fix this?

galth...@gmail.com

unread,
May 5, 2020, 4:42:37 AM5/5/20
to qubes-users
Anyone?

Catacombs

unread,
May 6, 2020, 10:25:23 AM5/6/20
to qubes-users
I am looking  for what I think is a similar answer   If I create a clone of a template, Choose Qubes Settings. I change the color of Qube to red.   The second tab is Advanced.  on down in the left column there is a reference to what the Default template setting is.   hmm.   where to go from here. 

pawderus

unread,
Jun 6, 2020, 11:46:13 PM6/6/20
to qubes-users
Same problem on my side.

I followed the documentation and successfully created a new DisposableVM Template after (new)installation of R4.0.3.

Also I managed to setup a different DispVM, based on a modified fedora-31-template, with no trouble.

I usually, in my previous installation, just created an AppVM 'xyz' and set the "Disposable VM Template" property via Qubes Settings. After logging out and in again I found the corresponding "Disposable: 'xyz'" menu entry. Did not need to manually set the appmenus-dispvm feature.

But currently I cant get right.

Even if I follow the same steps that I used for the default DisposableVM, which worked before, it wont anymore!? The error message is exactly llike the one gath... posted.

Sidenote: I can run a dispVM off of that 'xyz'-template via dom0: qvm-run --dispvm=xyz --service qubes.StartApp+xterm. Only the menu entries aren't behaiving as expected.


On Monday, May 4, 2020 at 12:13:55 PM UTC-4, galth...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages