Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up`default_dispvm` global default value #3688
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Mar 10, 2018
Member
I suggest you read this page:
https://www.qubes-os.org/doc/dispvm/
You cant remove the fedora-25-dvm because it is set as the default_dispvm. (The log message tells you this but is somewhat misleading: you already realise this is the case.)
You need to set another qube as the default_dispvm, but you're using the wrong syntax.
qubes-prefs default_dispvm <name> is what you want.
The thing is that now there are multiple disposableVMs it doesn't really have the same impact as when there was only one - I assume that's the reason why it's no longer in the Global Settings tool.
So there's a host of things here:
- It would be better if the error message identified the real problem.
- The log message is confusing.
- The docs aren't all that clear.
- You dont know how to set the default dispvm.
Please change the Title to something more specific.
|
I suggest you read this page: You cant remove the fedora-25-dvm because it is set as the default_dispvm. (The log message tells you this but is somewhat misleading: you already realise this is the case.) The thing is that now there are multiple disposableVMs it doesn't really have the same impact as when there was only one - I assume that's the reason why it's no longer in the Global Settings tool. So there's a host of things here:
Please change the Title to something more specific. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 10, 2018
Member
|
Yes, it's about global default value. It can be managed with `qubes-prefs` tool.
Indeed it should be also added to Qubes Global Settings tool @marmarta
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
modulistic
Mar 10, 2018
Hey thanks for the quick and informative answer :)
Clearly I've lagged behind the documentation, glad to see it's talking about R4. Also I was unaware of qubes-prefs; I was confusing it with qvm-prefs.
modulistic
commented
Mar 10, 2018
|
Hey thanks for the quick and informative answer :) |
modulistic
changed the title from
Unable to remove original `fedora-25-dvm` qube
to
`default_dispvm` global default value
Mar 10, 2018
andrewdavidwong
added
C: core
C: doc
UX
labels
Mar 10, 2018
andrewdavidwong
added this to the Release 4.0 milestone
Mar 10, 2018
andrewdavidwong
added
the
bug
label
Mar 10, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mirrorway
Mar 11, 2018
I keep hearing about this issue. I think it would be more user-friendly if removing a VM that is the default_dispvm should automatically set it to none.
$ qvm-remove test
These VM(s) will be completely removed: test
default_dispvm is currently test, will be set to none.
clockvm is currently test, will be set to none.
Are you sure? [y/N]
mirrorway
commented
Mar 11, 2018
•
|
I keep hearing about this issue. I think it would be more user-friendly if removing a VM that is the default_dispvm should automatically set it to none.
|
added a commit
to marmarta/qubes-manager
that referenced
this issue
Mar 14, 2018
marmarta
referenced this issue
in QubesOS/qubes-manager
Mar 14, 2018
Merged
Added default_dispvm to Global Settings #78
marmarek
modified the milestones:
Release 4.0,
Release 4.0 updates
Mar 28, 2018
qubesos-bot
referenced this issue
in QubesOS/updates-status
Mar 28, 2018
Closed
manager v4.0.17 (r4.0) #468
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
RefinedSoftwareLLC
Jun 15, 2018
(Using qvm-remove or Qube Manager's Delete qube)
If the qube being deleted is the "[Dom0] Qube Global Settings" Default DispVM, then display:
"This qube can't be deleted while it is the system default of Default DispVM.
Change the system default of Default DispVM to: "
Then give a dropdown with the options of the list of dvm-templates (except qube being deleted).
If there are no other dvm-templates then:
"This qube can't be deleted while it is the system default of Default DispVM.
To delete this qube, first create another DVM-Template to replace it.
If triggered by qvm-remove in the console, then display and number the entries of the drop down, and have the console user select a number for the replacement or to cancel deleting the qube.
RefinedSoftwareLLC
commented
Jun 15, 2018
•
|
(Using qvm-remove or Qube Manager's Delete qube) "This qube can't be deleted while it is the system default of Default DispVM. Then give a dropdown with the options of the list of dvm-templates (except qube being deleted). If there are no other dvm-templates then: "This qube can't be deleted while it is the system default of Default DispVM. If triggered by qvm-remove in the console, then display and number the entries of the drop down, and have the console user select a number for the replacement or to cancel deleting the qube. |
modulistic commentedMar 10, 2018
Qubes OS version:
Qubes release 4.0 (R4.0)
Up to date as of 2018-03-10 with repo
qubes-dom0-current-testingAffected component(s):
/var/lib/qubes/qubes.xmlqvm-prefsSteps to reproduce the behavior:
qvm-remove fedora-25-dvmExpected behavior:
fedora-25-dvmshould be goneActual behavior:
fedora-25-dvmis not gone/var/log/qubes/qubes.log:Cannot remove fedora-25-dvm, used by Qubes.default_dispvmGeneral notes:
fedora-25-dvmin favor of my new onefedora-26-dvmqvm-prefs XXX default_dispvm fedora-26-dvmQubesis not and hasn't been the name of any of any qube in my machine: it's something made up byqvm-prefsor its dependenciesQubes.default_dispvmdom0.default_dispvm, and this latter should not exist?default_dvmpref should be managed from the Qubes Global Settings tool, and it should set bothQubes.default_dispvmanddom0.default_dispvm?Related issues: