mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-10-01 01:25:40 -04:00
Merge branch 'master' into unman-patch-2
This commit is contained in:
commit
f821799c17
@ -85,7 +85,7 @@ Qubes also supports secure file copying between AppVMs.
|
||||
|
||||
[![r2b2-open-in-dispvm-1.png](/attachment/wiki/QubesScreenshots/r2b2-open-in-dispvm-1.png)](/attachment/wiki/QubesScreenshots/r2b2-open-in-dispvm-1.png) [![r2b2-open-in-dispvm-3.png](/attachment/wiki/QubesScreenshots/r2b2-open-in-dispvm-3.png)](/attachment/wiki/QubesScreenshots/r2b2-open-in-dispvm-3.png)
|
||||
|
||||
Qubes' unique Disposable VMs (DispVMs) allow the user to open any file in a disposable VM in a matter of seconds! A file can be edited in a disposable VM, and any changes are projected back onto the original file. Currently, there is no way to mark files to be automatically opened in a disposable VM (one needs to right-click on the file and choose the "Open in Disposable VM" option), but this is planned for the R2 Beta 3 release.
|
||||
Qubes' unique DisposableVMs (DispVMs) allow the user to open any file in a disposable VM in a matter of seconds! A file can be edited in a disposable VM, and any changes are projected back onto the original file. Currently, there is no way to mark files to be automatically opened in a disposable VM (one needs to right-click on the file and choose the "Open in DisposableVM" option), but this is planned for the R2 Beta 3 release.
|
||||
|
||||
* * * * *
|
||||
|
||||
|
444
about/support.md
444
about/support.md
@ -13,16 +13,14 @@ redirect_from:
|
||||
- /wiki/QubesLists/
|
||||
---
|
||||
|
||||
Help, Support, and Mailing Lists
|
||||
================================
|
||||
# Help, Support, and Mailing Lists #
|
||||
|
||||
Help and support for Qubes OS is available from the [documentation] and the
|
||||
[mailing lists], which are explained below. The Qubes OS Project does not offer
|
||||
paid support services.
|
||||
|
||||
|
||||
Staying safe
|
||||
------------
|
||||
## Staying safe ##
|
||||
|
||||
The Qubes mailing lists are open to the public. The contents of the list are
|
||||
crawled by search engines and archived by third-party services outside of our
|
||||
@ -58,8 +56,7 @@ cryptographically signed, anyone would be in a position to [verify] that these
|
||||
came from the same keyholder.
|
||||
|
||||
|
||||
Discussion list guidelines
|
||||
--------------------------
|
||||
## Discussion list guidelines ##
|
||||
|
||||
Qubes discussions mainly take place on two mailing lists: `qubes-users` and
|
||||
`qubes-devel`, both of which are explained below. Please send all questions
|
||||
@ -81,174 +78,182 @@ guidelines.
|
||||
|
||||
### Be polite and respectful ###
|
||||
|
||||
Remember, no one here is under any obligation
|
||||
to reply to you. Think about your readers. Most of them are coming home after
|
||||
a long, hard day at work. The last thing they need is someone's temper
|
||||
tantrum in their inboxes. If you are rude and disrespectful, you are very
|
||||
likely to be ignored.
|
||||
Remember, no one here is under any obligation
|
||||
to reply to you. Think about your readers. Most of them are coming home after
|
||||
a long, hard day at work. The last thing they need is someone's temper
|
||||
tantrum in their inboxes. If you are rude and disrespectful, you are very
|
||||
likely to be ignored.
|
||||
|
||||
### Be concise ###
|
||||
|
||||
Include only essential information. Most of your readers lead
|
||||
busy lives and have precious little time. We *want* to spend some of that
|
||||
time helping you, if we can. But if you ramble, it will be easier to skip
|
||||
over you and help someone else who gets right to the point.
|
||||
Include only essential information. Most of your readers lead
|
||||
busy lives and have precious little time. We *want* to spend some of that
|
||||
time helping you, if we can. But if you ramble, it will be easier to skip
|
||||
over you and help someone else who gets right to the point.
|
||||
|
||||
### Help us help you ###
|
||||
|
||||
Tell us what you've already tried, and which
|
||||
documentation pages you've already read. Put yourself in your readers' shoes.
|
||||
What essential information would they require in order to be able to help
|
||||
you? Make sure to include that information in your message. [Ask
|
||||
questions the smart way.][smart-questions]
|
||||
Tell us what you've already tried, and which
|
||||
documentation pages you've already read. Put yourself in your readers' shoes.
|
||||
What essential information would they require in order to be able to help
|
||||
you? Make sure to include that information in your message. [Ask
|
||||
questions the smart way.][smart-questions]
|
||||
|
||||
### Be patient ###
|
||||
|
||||
Do not "bump" a thread more than once every three days *at
|
||||
most*. If it seems like your messages to the mailing lists are consistently
|
||||
being ignored, make sure you're following the guidelines explained on this
|
||||
page. If you're already doing so but still not getting any replies, then it's
|
||||
likely that no one who knows the answer has had time to reply yet. Remember
|
||||
that the devs are very busy working on Qubes. They usually only have a chance
|
||||
to answer questions on the mailing lists once every several days.
|
||||
Do not "bump" a thread more than once every three days *at
|
||||
most*. If it seems like your messages to the mailing lists are consistently
|
||||
being ignored, make sure you're following the guidelines explained on this
|
||||
page. If you're already doing so but still not getting any replies, then it's
|
||||
likely that no one who knows the answer has had time to reply yet. Remember
|
||||
that the devs are very busy working on Qubes. They usually only have a chance
|
||||
to answer questions on the mailing lists once every several days.
|
||||
|
||||
### Be a good community member ###
|
||||
|
||||
As with any social community, members of the
|
||||
mailing list earn different reputations for themselves over time. We want the
|
||||
mailing lists to be a friendly, productive place where information and ideas
|
||||
are exchanged for the mutual benefit of all. We understand that the best way
|
||||
to achieve this is to encourage and cultivate other like-minded individuals.
|
||||
Those who have shown themselves to be good community members through their
|
||||
past contributions have earned our good will, and we will be especially eager
|
||||
to help them and collaborate with them. If you are new to the community, you
|
||||
should understand that it will take time for you to earn the good will of
|
||||
others. This does not mean that you will not receive help. On the contrary,
|
||||
we are fortunate to have such a helpful and understanding community that many
|
||||
of them spend hours of their personal time helping complete strangers,
|
||||
including many who post to the lists anonymously. (Given the integration of
|
||||
Qubes with [Whonix], we understand better than most the complexities of
|
||||
privacy and anonymity, and we know that many users have no other choice but
|
||||
to post anonymously.) You can read our project's [Code of Conduct][coc] for
|
||||
more information.
|
||||
As with any social community, members of the
|
||||
mailing list earn different reputations for themselves over time. We want the
|
||||
mailing lists to be a friendly, productive place where information and ideas
|
||||
are exchanged for the mutual benefit of all. We understand that the best way
|
||||
to achieve this is to encourage and cultivate other like-minded individuals.
|
||||
Those who have shown themselves to be good community members through their
|
||||
past contributions have earned our good will, and we will be especially eager
|
||||
to help them and collaborate with them. If you are new to the community, you
|
||||
should understand that it will take time for you to earn the good will of
|
||||
others. This does not mean that you will not receive help. On the contrary,
|
||||
we are fortunate to have such a helpful and understanding community that many
|
||||
of them spend hours of their personal time helping complete strangers,
|
||||
including many who post to the lists anonymously. (Given the integration of
|
||||
Qubes with [Whonix], we understand better than most the complexities of
|
||||
privacy and anonymity, and we know that many users have no other choice but
|
||||
to post anonymously.) You can read our project's [Code of Conduct][coc] for
|
||||
more information.
|
||||
|
||||
### Report issues and submit changes in the right places ###
|
||||
|
||||
The mailing lists a good place to ask questions and discuss bugs and feature
|
||||
requests. However, if you're submitting a more formal report, we'd prefer
|
||||
that you submit it to our [issue tracker] so that it doesn't get overlooked.
|
||||
Likewise, if you see that something in the documentation should be changed,
|
||||
don't simply point it out in an email to one of the mailing lists. Instead,
|
||||
[submit the change][contributing to the documentation].
|
||||
The mailing lists a good place to ask questions and discuss bugs and feature
|
||||
requests. However, if you're submitting a more formal report, we'd prefer
|
||||
that you submit it to our [issue tracker] so that it doesn't get overlooked.
|
||||
Likewise, if you see that something in the documentation should be changed,
|
||||
don't simply point it out in an email to one of the mailing lists. Instead,
|
||||
[submit the change][contributing to the documentation].
|
||||
|
||||
|
||||
### Specific rules and notes ###
|
||||
|
||||
#### Use the correct list ####
|
||||
|
||||
Send your message to the correct list. Read the sections below to determine
|
||||
which list is correct for your message.
|
||||
Send your message to the correct list. Read the sections below to determine
|
||||
which list is correct for your message.
|
||||
|
||||
#### Do not top-post ####
|
||||
|
||||
[Top-posting] is placing your reply above the quoted message to which you're
|
||||
replying. Please refrain from doing this. Instead, either [interleave] your
|
||||
reply by placing parts of your message immediately below each quoted portion
|
||||
to which it is replying, or [bottom-post] by placing your entire reply below
|
||||
the quoted message to which you're replying.
|
||||
[Top-posting] is placing your reply above the quoted message to which you're
|
||||
replying. Please refrain from doing this. Instead, either [interleave] your
|
||||
reply by placing parts of your message immediately below each quoted portion
|
||||
to which it is replying, or [bottom-post] by placing your entire reply below
|
||||
the quoted message to which you're replying.
|
||||
|
||||
#### Use proper subject lines ####
|
||||
|
||||
Include a precise and informative subject line. This will allow others to
|
||||
easily find your thread in the future and use it as a reference. (Bad: "Help!
|
||||
Qubes problems!" Good: "R2B2 Installation problem: Apple keyboard not working
|
||||
in installer.")
|
||||
Include a precise and informative subject line. This will allow others to
|
||||
easily find your thread in the future and use it as a reference. (Bad: "Help!
|
||||
Qubes problems!" Good: "R2B2 Installation problem: Apple keyboard not working
|
||||
in installer.")
|
||||
|
||||
#### Do not send duplicates ####
|
||||
|
||||
If your message is not successfully sent to the list, it probably got caught
|
||||
in the spam filter. We check the spam filter regularly, so please be patient,
|
||||
and your message should be approved (and your email address added to the
|
||||
whitelist) within a few days.
|
||||
If your message is not successfully sent to the list, it probably got caught
|
||||
in the spam filter. We check the spam filter regularly, so please be patient,
|
||||
and your message should be approved (and your email address added to the
|
||||
whitelist) within a few days.
|
||||
|
||||
#### Keep the list CCed ####
|
||||
|
||||
Keep the mailing list CCed throughout the conversation unless there's a
|
||||
special need for privacy (in which case, use PGP encryption). This increases
|
||||
the likelihood that a greater quantity of useful information will be
|
||||
available to everyone in the future.
|
||||
Keep the mailing list CCed throughout the conversation unless there's a
|
||||
special need for privacy (in which case, use PGP encryption). This increases
|
||||
the likelihood that a greater quantity of useful information will be
|
||||
available to everyone in the future.
|
||||
|
||||
#### Quote appropriately ####
|
||||
|
||||
If you're replying to a thread (whether your own or
|
||||
someone else's), you should make sure to quote enough from previous messages
|
||||
in the thread so that people reading your message can understand the context
|
||||
without having to find and read earlier messages from that thread. Each reply
|
||||
should continue the conversation and, ideally, be readable as a conversation
|
||||
in itself. Do not quote advertisements in signatures or inline PGP signature
|
||||
blocks. (Quoting the latter interferes with the ability of programs like
|
||||
Enigmail to properly quote replies thereafter).
|
||||
If you're replying to a thread (whether your own or
|
||||
someone else's), you should make sure to quote enough from previous messages
|
||||
in the thread so that people reading your message can understand the context
|
||||
without having to find and read earlier messages from that thread. Each reply
|
||||
should continue the conversation and, ideally, be readable as a conversation
|
||||
in itself. Do not quote advertisements in signatures or inline PGP signature
|
||||
blocks. (Quoting the latter interferes with the ability of programs like
|
||||
Enigmail to properly quote replies thereafter).
|
||||
|
||||
#### English not required ####
|
||||
|
||||
If you do not speak English, you should feel free to post in your own
|
||||
language. However, bear in mind that most members of the list can only read
|
||||
English. You may wish to include an automated translation in your message out
|
||||
of consideration for those readers. If you choose to write in English, please
|
||||
do not apologize for doing so poorly, as it is unnecessary. We understand and
|
||||
will ask for clarification if needed.
|
||||
If you do not speak English, you should feel free to post in your own
|
||||
language. However, bear in mind that most members of the list can only read
|
||||
English. You may wish to include an automated translation in your message out
|
||||
of consideration for those readers. If you choose to write in English, please
|
||||
do not apologize for doing so poorly, as it is unnecessary. We understand and
|
||||
will ask for clarification if needed.
|
||||
|
||||
#### Suggestions ####
|
||||
|
||||
While we're generally open to hearing suggestions for new features, please
|
||||
note that we already have a pretty well defined [roadmap], and it's rather
|
||||
unlikely that we will change our schedule in order to accommodate your
|
||||
request. If there's a particular feature you'd like to see in Qubes, a much
|
||||
more effective way to make it happen is to contribute a patch that implements
|
||||
it. We happily accept such contributions, provided they meet our standards.
|
||||
Please note, however, that it's always a good idea to field a discussion of
|
||||
your idea on the `qubes-devel` list before putting in a lot of hard work on
|
||||
something that we may not be able or willing to accept.
|
||||
While we're generally open to hearing suggestions for new features, please
|
||||
note that we already have a pretty well defined [roadmap], and it's rather
|
||||
unlikely that we will change our schedule in order to accommodate your
|
||||
request. If there's a particular feature you'd like to see in Qubes, a much
|
||||
more effective way to make it happen is to contribute a patch that implements
|
||||
it. We happily accept such contributions, provided they meet our standards.
|
||||
Please note, however, that it's always a good idea to field a discussion of
|
||||
your idea on the `qubes-devel` list before putting in a lot of hard work on
|
||||
something that we may not be able or willing to accept.
|
||||
|
||||
#### Mailing lists vs. forums ####
|
||||
|
||||
While the mailing lists are implemented as Google Group web forums, a Google
|
||||
account is in no way required, expected, or encouraged. Many discussants
|
||||
(including most members of the Qubes team) treat these lists as conventional
|
||||
[mailing lists], interacting with them solely through plain text email with
|
||||
[MUAs] like [Thunderbird] and [Mutt]. The Google Groups service is just
|
||||
free infrastructure, and we [distrust the infrastructure]. This is why, for
|
||||
example, we encourage discussants to use [Split GPG] to sign all of their
|
||||
messages to the lists, but we do not endorse the use of these Google Groups
|
||||
as web forums. (There have been many discussions about why the Qubes OS
|
||||
Project does not maintain a forum. The curious can find these by searching
|
||||
the list archives.)
|
||||
While the mailing lists are implemented as Google Group web forums, a Google
|
||||
account is in no way required, expected, or encouraged. Many discussants
|
||||
(including most members of the Qubes team) treat these lists as conventional
|
||||
[mailing lists], interacting with them solely through plain text email with
|
||||
[MUAs] like [Thunderbird] and [Mutt]. The Google Groups service is just
|
||||
free infrastructure, and we [distrust the infrastructure]. This is why, for
|
||||
example, we encourage discussants to use [Split GPG] to sign all of their
|
||||
messages to the lists, but we do not endorse the use of these Google Groups
|
||||
as web forums. Some users prefer to interact with the mailing lists through
|
||||
their optional web interfaces. This has the advantage that it allows you to
|
||||
search and reply to messages which were sent prior to your subscription to
|
||||
the list. However, a Google account is required in order to post through the
|
||||
web interfaces. (Note: There have been many discussions about why the Qubes
|
||||
OS Project does not maintain a forum. The curious can find these by searching
|
||||
the list archives.)
|
||||
|
||||
#### Gmane ####
|
||||
|
||||
Qubes mailing lists are also available via Gmane, a service that provides mailing lists in the form of newsgroups.
|
||||
This makes it possible for you to subscribe and read all mails sent to the list without having them all sent to your normal mail account.
|
||||
To use Gmane, you need a newsreader such as [Thunderbird].
|
||||
To add Gmane's server to Thunderbird, follow the instructions in [Mozilla Thunderbird's documentation for how to add newsgroups][thunderbird-newsgroup].
|
||||
In the fourth step replace `news.mozilla.org` with `news.gmane.org`.
|
||||
To subscribe to a list, click **Subscribe...** and search for the newsgroup `gmane.os.qubes.<list>`, for example, [`gmane.os.qubes.user`].
|
||||
Check the box beside the name and click **OK**.
|
||||
You can now send and reply to mails the same way you would normally.
|
||||
To unsubscribe from the list, click **Subscribe...** and search for the newsgroup `gmane.os.qubes.<list>`, for example, [`gmane.os.qubes.user`].
|
||||
Uncheck the box beside the name and click **OK**.
|
||||
Thunderbird will automatically remove the newsgroup.
|
||||
|
||||
|
||||
qubes-announce
|
||||
--------------
|
||||
## qubes-announce ##
|
||||
|
||||
This is a read-only list for those who wish to receive only very important,
|
||||
infrequent messages. Only the core Qubes team can post to this list, and only
|
||||
[Qubes Security Bulletins (QSBs)][qsb] and new Qubes OS releases are announced
|
||||
here.
|
||||
|
||||
### How to subscribe
|
||||
|
||||
#### Google Groups
|
||||
|
||||
* To subscribe to the list, send a blank email to
|
||||
`qubes-announce+subscribe@googlegroups.com`.
|
||||
* Note: A Gmail account is *not* required. Any email address will work.
|
||||
* To unsubscribe, send a blank email to
|
||||
`qubes-announce+unsubscribe@googlegroups.com`.
|
||||
* This list can also be browsed via an optional [Google Groups web
|
||||
interface][qubes-announce-web].
|
||||
To subscribe, send a blank email to `qubes-announce+subscribe@googlegroups.com`.
|
||||
(Note: A Google account is *not* required. Any email address will work.)
|
||||
To unsubscribe, send a blank email to `qubes-announce+unsubscribe@googlegroups.com`.
|
||||
This list also has an optional [Google Groups web interface][qubes-announce-web].
|
||||
|
||||
|
||||
qubes-users
|
||||
-----------
|
||||
|
||||
### How to use this list
|
||||
## qubes-users ##
|
||||
|
||||
This list is for helping users solve various daily problems with Qubes OS.
|
||||
Examples of topics or questions suitable for this list include:
|
||||
@ -258,8 +263,6 @@ Examples of topics or questions suitable for this list include:
|
||||
* Hardware compatibility problems
|
||||
* Questions of the form: "How do I...?"
|
||||
|
||||
### Read these first
|
||||
|
||||
Please try searching both the Qubes website and the archives of the mailing
|
||||
lists before sending a question. In addition, please make sure that you have
|
||||
read and understood the following basic documentation prior to posting to the
|
||||
@ -270,55 +273,17 @@ list:
|
||||
* The [User FAQ]
|
||||
* The [documentation] (for questions about how to use Qubes OS)
|
||||
|
||||
### How to subscribe and post
|
||||
|
||||
#### Google Groups
|
||||
|
||||
You don't have to subscribe in order to post to this list. However, subscribing
|
||||
might nonetheless be desirable, as it ensures that your messages will not be
|
||||
eaten by the Google Groups spam filter and allows you to receive messages which
|
||||
were sent directly to the list.
|
||||
|
||||
* To subscribe to the list, send a blank email to
|
||||
`qubes-users+subscribe@googlegroups.com`.
|
||||
* Note: A Gmail account is *not* required. Any email address will work.
|
||||
* To post a message to the list, address your email to
|
||||
`qubes-users@googlegroups.com`.
|
||||
* Note: You don't have to be subscribed in order to post.
|
||||
* To unsubscribe, send a blank email to
|
||||
`qubes-users+unsubscribe@googlegroups.com`.
|
||||
* This list also has a [Google Groups web interface][qubes-users-web].
|
||||
* Some users prefer to interact with the mailing list through the web
|
||||
interface. This has the advantage that it allows you to search and reply to
|
||||
messages which were sent prior to your subscription to the list. However, a
|
||||
Google account is required in order to post through this interface.
|
||||
* You can also search the [traditional mail archive][qubes-users-archive]
|
||||
|
||||
#### Gmane
|
||||
|
||||
The mailing list is also available via Gmane, a service that provides mailing
|
||||
lists in the form of newsgroups. This makes it possible for you to subscribe
|
||||
and read all mails sent to the list without having them all sent to your normal
|
||||
mail account. To use Gmane, you need a newsreader such as [Thunderbird].
|
||||
|
||||
To add Gmane's server to Thunderbird, follow the instructions in
|
||||
[Mozilla Thunderbird's documentation for how to add
|
||||
newsgroups][thunderbird-newsgroup].
|
||||
In the fourth step replace `news.mozilla.org` with `news.gmane.org`.
|
||||
|
||||
* To subscribe to the list, click on **Subscribe...** and search for the
|
||||
newsgroup [`gmane.os.qubes.user`]. Click on the checkbox besides the name
|
||||
and **OK**.
|
||||
* You send and reply to mails the same way you would normally.
|
||||
* To unsubscribe from the list, click on **Subscribe...**
|
||||
search for the newsgroup [`gmane.os.qubes.user`], uncheck the checkbox, and
|
||||
click on **OK**. Thunderbird will automatically remove the newsgroup.
|
||||
You don't have to subscribe in order to post to this list.
|
||||
However, subscribing makes your messages less likely to be marked as spam and allows you to receive messages sent directly to the list.
|
||||
To subscribe to the list, send a blank email to `qubes-users+subscribe@googlegroups.com`.
|
||||
(Note: A Google account is *not* required. Any email address will work.)
|
||||
To post a message to the list, address your email to `qubes-users@googlegroups.com`.
|
||||
If your post does not appear immediately, please allow time for moderation to occur.
|
||||
To unsubscribe, send a blank email to `qubes-users+unsubscribe@googlegroups.com`.
|
||||
This list also has an optional [Google Groups web interface][qubes-users-web] and [traditional mail archive][qubes-users-archive].
|
||||
|
||||
|
||||
qubes-devel
|
||||
-----------
|
||||
|
||||
### How to use this list
|
||||
## qubes-devel ##
|
||||
|
||||
This list is primarily intended for people who are interested in contributing to
|
||||
Qubes or who are willing to learn more about its architecture and
|
||||
@ -332,112 +297,38 @@ implementation. Examples of topics and questions suitable for this list include:
|
||||
* Contributed code and patches.
|
||||
* Security discussions which are relevant to Qubes in some way.
|
||||
|
||||
### How to subscribe and post
|
||||
|
||||
#### Google Groups
|
||||
|
||||
You must be subscribed in order to post to this list.
|
||||
|
||||
* To subscribe to the list, send a blank email to
|
||||
`qubes-devel+subscribe@googlegroups.com`.
|
||||
* Note: A Gmail account is *not* required. Any email address will work.
|
||||
* To post a message to the list, address your email to
|
||||
`qubes-devel@googlegroups.com`.
|
||||
* Note: You must be subscribed in order to post. If your post does not
|
||||
appear, please allow time for moderation to occur.
|
||||
* To unsubscribe, send a blank email to
|
||||
`qubes-devel+unsubscribe@googlegroups.com`.
|
||||
* This list has a [Google Groups web interface][qubes-devel-web].
|
||||
* Some users prefer to interact with the mailing list through the web
|
||||
interface. This has the advantage that it allows you to search and reply to
|
||||
messages which were sent prior to your subscription to the list. However, a
|
||||
Google account is required in order to post through this interface.
|
||||
* You can also search the [traditional mail archive][qubes-devel-archive]
|
||||
|
||||
#### Gmane
|
||||
|
||||
The mailing list is also available via Gmane, a service that provides mailing
|
||||
lists in the form of newsgroups. This makes it possible for you to subscribe
|
||||
and read all mails sent to the list without having them all sent to your normal
|
||||
mail account. To use Gmane, you need a newsreader such as [Thunderbird].
|
||||
|
||||
To add Gmane's server to Thunderbird, follow the instructions in
|
||||
[Mozilla Thunderbird's documentation for how to add
|
||||
newsgroups][thunderbird-newsgroup].
|
||||
In the fourth step replace `news.mozilla.org` with `news.gmane.org`.
|
||||
|
||||
* To subscribe to the list, click on **Subscribe...** and search for the
|
||||
newsgroup [`gmane.os.qubes.devel`]. Click on the checkbox besides the name
|
||||
and **OK**.
|
||||
* You send and reply to mails the same way you would normally.
|
||||
* To unsubscribe from the list, click on **Subscribe...**
|
||||
search for the newsgroup [`gmane.os.qubes.devel`], uncheck the checkbox, and
|
||||
click on **OK**. Thunderbird will automatically remove the newsgroup.
|
||||
To subscribe, send a blank email to `qubes-devel+subscribe@googlegroups.com`.
|
||||
(Note: A Google account is *not* required. Any email address will work.)
|
||||
To post a message to the list, address your email to `qubes-devel@googlegroups.com`.
|
||||
If your post does not appear immediately, please allow time for moderation to occur.
|
||||
To unsubscribe, send a blank email to `qubes-devel+unsubscribe@googlegroups.com`.
|
||||
This list also has an optional [Google Groups web interface][qubes-devel-web] and [traditional mail archive][qubes-devel-archive].
|
||||
|
||||
|
||||
qubes-project
|
||||
-------------
|
||||
|
||||
### How to use this list
|
||||
## qubes-project ##
|
||||
|
||||
This list is for non-technical discussion and coordination around the
|
||||
Qubes OS project.
|
||||
|
||||
Examples of topics or question suitable for this list include:
|
||||
|
||||
* Participation (talks, workshops, etc.) at upcoming events
|
||||
* Project funding applications and strategies
|
||||
* FOSS governance discussions
|
||||
* Most Github issues tagged "[business]"
|
||||
* Participation (talks, workshops, etc.) at upcoming events
|
||||
* Project funding applications and strategies
|
||||
* FOSS governance discussions
|
||||
* Most Github issues tagged "[business]"
|
||||
|
||||
### How to subscribe and post
|
||||
|
||||
#### Google Groups
|
||||
|
||||
You don't have to subscribe in order to post to this list. However, subscribing
|
||||
might nonetheless be desirable, as it ensures that your messages will not be
|
||||
eaten by the Google Groups spam filter and allows you to receive messages which
|
||||
were sent directly to the list.
|
||||
|
||||
* To subscribe to the list, send a blank email to
|
||||
`qubes-project+subscribe@googlegroups.com`.
|
||||
* Note: A Gmail account is *not* required. Any email address will work.
|
||||
* To post a message to the list, address your email to
|
||||
`qubes-project@googlegroups.com`.
|
||||
* Note: You don't have to be subscribed in order to post.
|
||||
* To unsubscribe, send a blank email to
|
||||
`qubes-project+unsubscribe@googlegroups.com`.
|
||||
* This list also has a [Google Groups web interface][qubes-project-web].
|
||||
* Some users prefer to interact with the mailing list through the web
|
||||
interface. This has the advantage that it allows you to search and reply to
|
||||
messages which were sent prior to your subscription to the list. However, a
|
||||
Google account is required in order to post through this interface.
|
||||
|
||||
#### Gmane
|
||||
|
||||
The mailing list is also available via Gmane, a service that provides mailing
|
||||
lists in the form of newsgroups. This makes it possible for you to subscribe
|
||||
and read all mails sent to the list without having them all sent to your normal
|
||||
mail account. To use Gmane, you need a newsreader such as [Thunderbird].
|
||||
|
||||
To add Gmane's server to Thunderbird, follow the instructions in
|
||||
[Mozilla Thunderbird's documentation for how to add
|
||||
newsgroups][thunderbird-newsgroup].
|
||||
In the fourth step replace `news.mozilla.org` with `news.gmane.org`.
|
||||
|
||||
* To subscribe to the list, click on **Subscribe...** and search for the
|
||||
newsgroup [`gmane.os.qubes.project`]. Click on the checkbox besides the name
|
||||
and **OK**.
|
||||
* You send and reply to mails the same way you would normally.
|
||||
* To unsubscribe from the list, click on **Subscribe...**
|
||||
search for the newsgroup [`gmane.os.qubes.project`], uncheck the checkbox, and
|
||||
click on **OK**. Thunderbird will automatically remove the newsgroup.
|
||||
You don't have to subscribe in order to post to this list.
|
||||
However, subscribing makes your messages less likely to be marked as spam and allows you to receive messages sent directly to the list.
|
||||
To subscribe, send a blank email to `qubes-project+subscribe@googlegroups.com`.
|
||||
(Note: A Google account is *not* required. Any email address will work.)
|
||||
To post a message to the list, address your email to `qubes-project@googlegroups.com`.
|
||||
If your post does not appear immediately, please allow time for moderation to occur.
|
||||
To unsubscribe, send a blank email to `qubes-project+unsubscribe@googlegroups.com`.
|
||||
This list also also has an optional [Google Groups web interface][qubes-project-web].
|
||||
|
||||
|
||||
qubes-translation
|
||||
-----------------
|
||||
|
||||
### How to use this list
|
||||
## qubes-translation ##
|
||||
|
||||
This list is for discussion around the localization and translation of Qubes OS,
|
||||
its documentation, and the website.
|
||||
@ -448,25 +339,14 @@ Examples of topics or question suitable for this list include:
|
||||
* Who is managing localization for a given language
|
||||
* Most Github issues tagged "[localization]"
|
||||
|
||||
### How to subscribe and post
|
||||
|
||||
#### Google Groups
|
||||
|
||||
You must be subscribed in order to post to this list.
|
||||
|
||||
* To subscribe to the list, send a blank email to
|
||||
`qubes-translation+subscribe@googlegroups.com`.
|
||||
* Note: A Gmail account is *not* required. Any email address will work.
|
||||
* To post a message to the list, address your email to
|
||||
`qubes-translation@googlegroups.com`.
|
||||
* Note: You don't have to be subscribed in order to post.
|
||||
* To unsubscribe, send a blank email to
|
||||
`qubes-translation+unsubscribe@googlegroups.com`.
|
||||
* This list also has a [Google Groups web interface][qubes-translation-web].
|
||||
* Some users prefer to interact with the mailing list through the web
|
||||
interface. This has the advantage that it allows you to search and reply to
|
||||
messages which were sent prior to your subscription to the list. However, a
|
||||
Google account is required in order to post through this interface.
|
||||
You don't have to subscribe in order to post to this list.
|
||||
However, subscribing makes your messages less likely to be marked as spam and allows you to receive messages sent directly to the list.
|
||||
To subscribe, send a blank email to `qubes-translation+subscribe@googlegroups.com`.
|
||||
(Note: A Google account is *not* required. Any email address will work.)
|
||||
To post a message to the list, address your email to `qubes-translation@googlegroups.com`.
|
||||
If your post does not appear immediately, please allow time for moderation to occur.
|
||||
To unsubscribe, send a blank email to `qubes-translation+unsubscribe@googlegroups.com`.
|
||||
This list also has an optional [Google Groups web interface][qubes-translation-web].
|
||||
|
||||
|
||||
[mailing lists]: https://en.wikipedia.org/wiki/Electronic_mailing_list
|
||||
|
@ -116,7 +116,7 @@ would override all the user changes there). More details:
|
||||
- ability to deploy the template into various storage mechanisms (sparse
|
||||
files, LVM thin volumes etc).
|
||||
- template metadata, templates repository - enable the user to browse
|
||||
available templates (probably should be done in dedicated VM, or Disposable VM)
|
||||
available templates (probably should be done in dedicated VM, or DisposableVM)
|
||||
- Implement the above mechanism:
|
||||
- tool to download named template - should perform download operation in
|
||||
some VM (as dom0 have no network access), then transfer the data to dom0,
|
||||
@ -285,7 +285,7 @@ details: [#1552](https://github.com/QubesOS/qubes-issues/issues/1552),
|
||||
**Expected results**:
|
||||
|
||||
- Extend existing Thunderbird extension to decide on action (where to open/save attachments) based on message sender - recognized as email address, or signing key
|
||||
- Add Firefox extension to open links in Disposable VM / selected VM (right-click option and a default action for not-whitelisted URLs/domains)
|
||||
- Add Firefox extension to open links in DisposableVM / selected VM (right-click option and a default action for not-whitelisted URLs/domains)
|
||||
- The same for Chrome
|
||||
- Add tests for above enhancements
|
||||
- Update user documentation
|
||||
|
@ -227,6 +227,6 @@ Learning to make well designing intuitive interfaces and software is specialized
|
||||
- [Learn Design Principles](http://learndesignprinciples.com) by Melissa Mandelbaum
|
||||
- [Usability in Free Software](http://jancborchardt.net/usability-in-free-software) by Jan C. Borchardt
|
||||
- [Superheroes & Villains in Design](https://vimeo.com/70030549) by Aral Balkan
|
||||
- [First Rule of Usability? Don’t Listen to Users](http://www.nngroup.com/articles/first-rule-of-usability-dont-listen-to-users/) by by Jakob Nielsen
|
||||
- [First Rule of Usability? Don’t Listen to Users](http://www.nngroup.com/articles/first-rule-of-usability-dont-listen-to-users/) by Jakob Nielsen
|
||||
- [10 Usability Heuristics for User Interface Design](https://www.nngroup.com/articles/ten-usability-heuristics/) by Jakob Nielsen
|
||||
- [Hack Design](https://hackdesign.org/) - online learning program
|
||||
|
@ -254,6 +254,33 @@ When making contributions, please try to observe the following style conventions
|
||||
where appropriate.
|
||||
* Use underline headings (`=====` and `-----`) if possible.
|
||||
If this is not possible, use Atx-style headings on both the left and right sides (`### H3 ###`).
|
||||
* When writing code blocks, use [syntax highlighting](https://github.github.com/gfm/#info-string) where [possible](https://github.com/jneen/rouge/wiki/List-of-supported-languages-and-lexers) and use `[...]` for anything omitted.
|
||||
* When providing command line examples:
|
||||
* Tell the reader where to open a terminal (dom0 or a specific domU), and show the command along with its output (if any) in a code block, e.g.:
|
||||
~~~markdown
|
||||
Open a terminal in dom0 and run:
|
||||
```shell_session
|
||||
$ cd test
|
||||
$ echo Hello
|
||||
Hello
|
||||
```
|
||||
~~~
|
||||
* Precede each command with the appropriate command prompt:
|
||||
At a minimum, the prompt should contain a trailing `#` (for the user `root`) or `$` (for other users) on Linux systems and `>` on Windows systems, respectively.
|
||||
* Don't try to add comments inside the code block.
|
||||
For example, *don't* do this:
|
||||
~~~markdown
|
||||
Open a terminal in dom0 and run:
|
||||
```shell_session
|
||||
# Navigate to the new directory
|
||||
$ cd test
|
||||
# Generate a greeting
|
||||
$ echo Hello
|
||||
Hello
|
||||
```
|
||||
~~~
|
||||
The `#` symbol preceding each comment is ambiguous with a root command prompt.
|
||||
Instead, put your comments *outside* of the code block in normal prose.
|
||||
* Use `[reference-style][ref]` links.
|
||||
|
||||
`[ref]: https://daringfireball.net/projects/markdown/syntax#link`
|
||||
|
@ -141,7 +141,7 @@ A full list is available in the [Common Tasks](/doc/#common-tasks) section of th
|
||||
* [Updating Software in dom0](/doc/software-update-dom0/)
|
||||
* [Updating and Installing Software in VMs](/doc/software-update-vm/)
|
||||
* [Backup, Restoration, and Migration](/doc/backup-restore/)
|
||||
* [Using Disposable VMs](/doc/dispvm/)
|
||||
* [Using DisposableVMs](/doc/disposablevm/)
|
||||
* [Using and Managing USB Devices](/doc/usb/)
|
||||
|
||||
Running an application Full Screen
|
||||
|
@ -213,7 +213,7 @@ technical details have been omitted here for the sake of presentation.
|
||||
* Ready to give Qubes a try? Head on over to the [downloads] page.
|
||||
|
||||
|
||||
[disposable qube]: /doc/dispvm/
|
||||
[disposable qube]: /doc/disposablevm/
|
||||
[networking]: /doc/networking/
|
||||
[firewalls]: /doc/firewall/
|
||||
[USB]: /doc/usb/
|
||||
|
@ -20,7 +20,7 @@ installation ISO.
|
||||
In order to use it, one should use an rpm-based distro, like Fedora :), and should ensure the following packages are installed:
|
||||
|
||||
- sudo
|
||||
- gpg
|
||||
- gnupg
|
||||
- git
|
||||
- createrepo
|
||||
- rpm-build
|
||||
@ -39,7 +39,7 @@ In order to use it, one should use an rpm-based distro, like Fedora :), and shou
|
||||
|
||||
Usually one can install those packages by just issuing:
|
||||
|
||||
sudo dnf install gpg git createrepo rpm-build make wget rpmdevtools python2-sh dialog rpm-sign dpkg-dev debootstrap PyYAML devscripts perl-Digest-MD5 perl-Digest-SHA
|
||||
sudo dnf install gnupg git createrepo rpm-build make wget rpmdevtools python2-sh dialog rpm-sign dpkg-dev debootstrap PyYAML devscripts perl-Digest-MD5 perl-Digest-SHA
|
||||
|
||||
The build system creates build environments in chroots and so no other packages are needed on the host. All files created by the build system are contained within the qubes-builder directory. The full build requires some 25GB of free space, so keep that in mind when deciding where to place this directory.
|
||||
|
||||
|
@ -34,7 +34,7 @@ Last, you may want to disable memory balancing on `dev26` but keep in mind the i
|
||||
Once you've built `dev26`, open a Terminal window to it and install the necessary dependencies (see [QubesBuilder](/doc/qubes-builder/) for more info):
|
||||
|
||||
~~~
|
||||
$ sudo dnf install git createrepo rpm-build make wget rpmdevtools dialog rpm-sign gnupg dpkg-dev debootstrap python2-sh
|
||||
$ sudo dnf install gnupg git createrepo rpm-build make wget rpmdevtools python2-sh dialog rpm-sign dpkg-dev debootstrap PyYAML devscripts perl-Digest-MD5 perl-Digest-SHA
|
||||
~~~
|
||||
|
||||
Get the necessary keys to verify the sources (run these and other commands below as a regular user, not root):
|
||||
|
175
common-tasks/disposablevm.md
Normal file
175
common-tasks/disposablevm.md
Normal file
@ -0,0 +1,175 @@
|
||||
---
|
||||
layout: doc
|
||||
title: DisposableVMs
|
||||
permalink: /doc/disposablevm/
|
||||
redirect_from:
|
||||
- /doc/dispvm/
|
||||
- /en/doc/dispvm/
|
||||
- /doc/DisposableVms/
|
||||
- /wiki/DisposableVMs/
|
||||
---
|
||||
|
||||
DisposableVMs
|
||||
=============
|
||||
|
||||
A DisposableVM (previously known as a "DispVM") is a lightweight VM that can be created quickly and will disappear when closed.
|
||||
DisposableVMs are usually created in order to host a single application, like a viewer, editor, or web browser.
|
||||
|
||||
From inside an AppVM, choosing the `Open in DisposableVM` option on a file will launch a DisposableVM for just that file.
|
||||
Changes made to a file opened in a DisposableVM are passed back to the originating VM.
|
||||
This means that you can safely work with untrusted files without risk of compromising your other VMs.
|
||||
DisposableVMs can be launched either directly from dom0's Start Menu or terminal window, or from within AppVMs.
|
||||
While running, DisposableVMs will appear in Qubes VM Manager with the name `disp####`.
|
||||
|
||||
See [this article](https://blog.invisiblethings.org/2010/06/01/disposable-vms.html) for more on why one would want to use a DisposableVM.
|
||||
|
||||
|
||||
Security
|
||||
--------
|
||||
|
||||
If a [DVM Template] becomes compromised, then any DisposableVM based on that DVM Template could be compromised.
|
||||
In particular, the *default* DVM Template is important because it is used by the "Open in DisposableVM" feature.
|
||||
This means that it will have access to everything that you open with this feature.
|
||||
For this reason, it is strongly recommended that you base the default DVM Template on a trusted TemplateVM.
|
||||
|
||||
### DisposableVMs and Local Forensics ###
|
||||
|
||||
At this time, DisposableVMs should not be relied upon to circumvent local forensics, as they do not run entirely in RAM.
|
||||
For details, see [this thread](https://groups.google.com/d/topic/qubes-devel/QwL5PjqPs-4/discussion).
|
||||
|
||||
When it is essential to avoid leaving any trace, consider using [Tails](https://tails.boum.org/).
|
||||
|
||||
|
||||
DisposableVMs and Networking (R4.0 and later)
|
||||
-----------------------------
|
||||
|
||||
Similarly to how AppVMs are based on their underlying [TemplateVM](https://www.qubes-os.org/doc/glossary/#templatevm), DisposableVMs are based on their underlying [DVM Template](https://www.qubes-os.org/doc/glossary/#dvm-template).
|
||||
R4.0 introduces the concept of multiple DVM Templates, whereas R3.2 was limited to only one.
|
||||
|
||||
On a fresh installation of Qubes, the default DVM Template is called `fedora-XX-dvm` (where `XX` is the Fedora version of the default TemplateVM).
|
||||
If you have included the Whonix option in your install, there will also be a `whonix-ws-dvm` DVM Template available for your use.
|
||||
|
||||
You can set any AppVM to have the ability to act as a DVM Template with:
|
||||
|
||||
qvm-prefs <vmname> template_for_dispvms True
|
||||
|
||||
The default system wide DVM Template can be changed with `qubes-prefs default_dispvm`.
|
||||
By combining the two, choosing `Open in DisposableVM` from inside an AppVM will open the document in a DisposableVM based on the default DVM Template you specified.
|
||||
|
||||
You can change this behaviour for individual VMs: in the Application Menu, open Qube Settings for the VM in question and go to the "Advanced" tab.
|
||||
Here you can edit the "Default DisposableVM" setting to specify which DVM Template will be used to launch DisposableVMs from that VM.
|
||||
This can also be changed from the command line with:
|
||||
|
||||
qvm-prefs <vmname> default_dispvm <dvmtemplatename>
|
||||
|
||||
For example, `anon-whonix` has been set to use `whonix-ws-dvm` as its `default_dispvm`, instead of the system default.
|
||||
You can even set an AppVM that has also been configured as a DVM Template to use itself, so DisposableVMs launched from within the AppVM/DVM Template would inherit the same settings.
|
||||
|
||||
NetVM and firewall rules for DVM Templates can be set as they can for a normal VM.
|
||||
By default a DisposableVM will inherit the NetVM and firewall settings of the DVM Template on which it is based.
|
||||
This is a change in behaviour from R3.2, where DisposableVMs would inherit the settings of the AppVM from which they were launched.
|
||||
Therefore, launching a DisposableVM from an AppVM will result in it using the network/firewall settings of the DVM Template on which it is based.
|
||||
For example, if an AppVM uses sys-net as its NetVM, but the default system DisposableVM uses sys-whonix, any DisposableVM launched from this AppVM will have sys-whonix as its NetVM.
|
||||
|
||||
**Warning:** The opposite is also true. This means if you have changed anon-whonix's `default_dispvm` to use the system default, and the system default DisposableVM uses sys-net, launching a DisposableVM from inside anon-whonix will result in the DisposableVM using sys-net.
|
||||
|
||||
A DisposableVM launched from the Start Menu inherits the NetVM and firewall settings of the DVM Template on which it is based.
|
||||
Note that changing the "NetVM" setting for the system default DVM Template *does* affect the NetVM of DisposableVMs launched from the Start Menu.
|
||||
Different DVM Templates with individual NetVM settings can be added to the Start Menu.
|
||||
|
||||
**Important Notes:**
|
||||
Some DVM Templates will automatically create a menu item to launch a DVM, if you do not see an entry and want to add one please use the command:
|
||||
|
||||
qvm-features deb-dvm appmenus-dispvm 1
|
||||
|
||||
To launch a DVM from the command line, in dom0 please type the following:
|
||||
|
||||
qvm-run --dispvm=NameOfDVM --service qubes.StartApp+NameOfApp
|
||||
|
||||
|
||||
|
||||
DisposableVMs and Networking (R3.2 and earlier)
|
||||
-----------------------------
|
||||
|
||||
NetVM and firewall rules for DisposableVMs can be set as they can for a normal VM.
|
||||
By default a DisposableVM will inherit the NetVM and firewall settings of the VM from which it is launched.
|
||||
Thus if an AppVM uses sys-net as its NetVM, any DisposableVM launched from this AppVM will also have sys-net as its NetVM.
|
||||
You can change this behaviour for individual VMs: in Qubes VM Manager open VM Settings for the VM in question and go to the "Advanced" tab.
|
||||
Here you can edit the "NetVM for DisposableVM" setting to change the NetVM of any DisposableVM launched from that VM.
|
||||
|
||||
A DisposableVM launched from the Start Menu inherits the NetVM of the [DVM Template](/doc/glossary/#dvm-template).
|
||||
By default the DVM template is called `fedora-XX-dvm` (where `XX` is the Fedora version of the default TemplateVM).
|
||||
As an "internal" VM it is hidden in Qubes VM Manager, but can be shown by selecting "Show/Hide internal VMs".
|
||||
Note that changing the "NetVM for DisposableVM" setting for the DVM Template does *not* affect the NetVM of DisposableVMs launched from the Start Menu; only changing the DVM Template's own NetVM does.
|
||||
|
||||
Opening a file in a DisposableVM via GUI
|
||||
-----------------------------------------
|
||||
|
||||
In an AppVM's file manager, right click on the file you wish to open in a DisposableVM, then choose "Open in DisposableVM".
|
||||
Wait a few seconds and the default application for this file type should appear displaying the file content.
|
||||
This app is running in its own dedicated VM -- a DisposableVM created for the purpose of viewing or editing this very file.
|
||||
Once you close the viewing application the whole DisposableVM will be destroyed.
|
||||
If you have edited the file and saved the changes, the changed file will be saved back to the original AppVM, overwriting the original.
|
||||
|
||||
![r1-open-in-dispvm-1.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-1.png) ![r1-open-in-dispvm-2.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-2.png)
|
||||
|
||||
Opening a fresh web browser instance in a new DisposableVM
|
||||
-----------------------------------------------------------
|
||||
|
||||
Sometimes it is desirable to open an instance of Firefox within a new fresh DisposableVM.
|
||||
This can be done easily using the Start Menu: just go to **Application Menu -\> DisposableVM -\> DisposableVM:Firefox web browser**.
|
||||
Wait a few seconds until a web browser starts.
|
||||
Once you close the viewing application the whole DisposableVM will be destroyed.
|
||||
|
||||
![r1-open-in-dispvm-3.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-3.png)
|
||||
|
||||
Opening a file in a DisposableVM via command line (from AppVM)
|
||||
---------------------------------------------------------------
|
||||
|
||||
Use the `qvm-open-in-dvm` command from a terminal in your AppVM:
|
||||
|
||||
~~~
|
||||
[user@work-pub ~]$ qvm-open-in-dvm Downloads/apple-sandbox.pdf
|
||||
~~~
|
||||
|
||||
Note that the `qvm-open-in-dvm` process will not exit until you close the application in the DisposableVM.
|
||||
|
||||
Starting an arbitrary program in a DisposableVM from an AppVM
|
||||
--------------------------------------------------------------
|
||||
|
||||
Sometimes it can be useful to start an arbitrary program in a DisposableVM. This can be done from an AppVM by running
|
||||
|
||||
~~~
|
||||
[user@vault ~]$ qvm-run '$dispvm' xterm
|
||||
~~~
|
||||
|
||||
The created DisposableVM can be accessed via other tools (such as `qvm-copy-to-vm`) using its `disp####` name as shown in the Qubes Manager or `qvm-ls`.
|
||||
|
||||
Starting an arbitrary application in a DisposableVM via command line (from Dom0)
|
||||
---------------------------------------------------------------------------------
|
||||
|
||||
The Start Menu has shortcuts for opening a terminal and a web browser in dedicated DisposableVMs, since these are very common tasks.
|
||||
However, it is possible to start an arbitrary application in a DisposableVM directly from Dom0 by running
|
||||
|
||||
R4.0 (border colour will be inherited from that set in the `dispvm-template`)
|
||||
~~~
|
||||
[joanna@dom0 ~]$ qvm-run --dispvm=dispvm-template --service qubes.StartApp+xterm
|
||||
~~~
|
||||
|
||||
R3.2 (border colour can be specified in the command)
|
||||
~~~
|
||||
[joanna@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red
|
||||
~~~
|
||||
|
||||
(The DisposableVM appmenu used for starting Firefox runs a very similar command to the one above.)
|
||||
|
||||
Customizing DisposableVMs
|
||||
--------------------------
|
||||
|
||||
You can change the template used to generate the DisposableVMs, and change settings used in the DisposableVM savefile.
|
||||
These changes will be reflected in every new DisposableVM based on that template.
|
||||
Full instructions can be found [here](/doc/disposablevm-customization/).
|
||||
|
||||
|
||||
[DVM Template]: /doc/glossary/#dvm-template
|
||||
|
@ -1,162 +0,0 @@
|
||||
---
|
||||
layout: doc
|
||||
title: Disposable VMs
|
||||
permalink: /doc/dispvm/
|
||||
redirect_from:
|
||||
- /en/doc/dispvm/
|
||||
- /doc/DisposableVms/
|
||||
- /wiki/DisposableVMs/
|
||||
---
|
||||
|
||||
Disposable VMs (DispVMs)
|
||||
========================
|
||||
|
||||
A Disposable VM (DispVM) is a lightweight VM that can be created quickly and will disappear when closed.
|
||||
Disposable VMs are usually created in order to host a single application, like a viewer, editor, or web browser.
|
||||
|
||||
From inside an AppVM, choosing the `Open in Disposable VM` option on a file will launch a DispVM for just that file.
|
||||
Changes made to a file opened in a DispVM are passed back to the originating VM.
|
||||
This means that you can safely work with untrusted files without risk of compromising your other VMs.
|
||||
DispVMs can be launched either directly from Dom0's Start Menu or terminal window, or from within AppVMs.
|
||||
While running, DispVMs will appear in Qubes VM Manager with the name `disp####`.
|
||||
|
||||
See [this article](https://blog.invisiblethings.org/2010/06/01/disposable-vms.html) for more on why one would want to use a Disposable VM.
|
||||
|
||||
|
||||
Disposable VMs and Networking (R4.0 and later)
|
||||
-----------------------------
|
||||
|
||||
Similarly to how AppVMs are based on their underlying [TemplateVM](https://www.qubes-os.org/doc/glossary/#templatevm), DispVMs are based on their underlying [DVM Template](https://www.qubes-os.org/doc/glossary/#dvm-template).
|
||||
R4.0 introduces the concept of multiple DVM Templates, whereas R3.2 was limited to only one.
|
||||
|
||||
On a fresh installation of Qubes, the default DVM Template is called `fedora-XX-dvm` (where `XX` is the Fedora version of the default TemplateVM).
|
||||
If you have included the Whonix option in your install, there will also be a `whonix-ws-dvm` DVM Template available for your use.
|
||||
|
||||
You can set any AppVM to have the ability to act as a DVM Template with:
|
||||
|
||||
qvm-prefs <vmname> template_for_dispvms True
|
||||
|
||||
The default system wide DVM Template can be changed with `qubes-prefs default_dispvm`.
|
||||
By combining the two, choosing `Open in Disposable VM` from inside an AppVM will open the document in a DispVM based on the default DVM Template you specified.
|
||||
|
||||
You can change this behaviour for individual VMs: in the Application Menu, open Qube Settings for the VM in question and go to the "Advanced" tab.
|
||||
Here you can edit the "Default DispVM" setting to specify which DVM Template will be used to launch DispVMs from that VM.
|
||||
This can also be changed from the command line with:
|
||||
|
||||
qvm-prefs <vmname> default_dispvm <dvmtemplatename>
|
||||
|
||||
For example, `anon-whonix` has been set to use `whonix-ws-dvm` as its `default_dispvm`, instead of the system default.
|
||||
You can even set an AppVM that has also been configured as a DVM Template to use itself, so DispVMs launched from within the AppVM/DVM Template would inherit the same settings.
|
||||
|
||||
NetVM and firewall rules for DVM Templates can be set as they can for a normal VM.
|
||||
By default a DispVM will inherit the NetVM and firewall settings of the DVM Template on which it is based.
|
||||
This is a change in behaviour from R3.2, where DispVMs would inherit the settings of the AppVM from which they were launched.
|
||||
Therefore, launching a DispVM from an AppVM will result in it using the network/firewall settings of the DVM Template on which it is based.
|
||||
For example, if an AppVM uses sys-net as its NetVM, but the default system DispVM uses sys-whonix, any DispVM launched from this AppVM will have sys-whonix as its NetVM.
|
||||
|
||||
**Warning:** The opposite is also true. This means if you have changed anon-whonix's `default_dispvm` to use the system default, and the system default DispVM uses sys-net, launching a DispVM from inside anon-whonix will result in the DispVM using sys-net.
|
||||
|
||||
A Disposable VM launched from the Start Menu inherits the NetVM and firewall settings of the DVM Template on which it is based.
|
||||
Note that changing the "NetVM" setting for the system default DVM Template *does* affect the NetVM of DispVMs launched from the Start Menu.
|
||||
Different DVM Templates with individual NetVM settings can be added to the Start Menu.
|
||||
|
||||
**Important Notes:**
|
||||
Some DVM Templates will automatically create a menu item to launch a DVM, if you do not see an entry and want to add one please use the command:
|
||||
|
||||
qvm-features deb-dvm appmenus-dispvm 1
|
||||
|
||||
To launch a DVM from the command line, in dom0 please type the following:
|
||||
|
||||
qvm-run --dispvm=NameOfDVM --service qubes.StartApp+NameOfApp
|
||||
|
||||
|
||||
|
||||
Disposable VMs and Networking (R3.2 and earlier)
|
||||
-----------------------------
|
||||
|
||||
NetVM and firewall rules for Disposable VMs can be set as they can for a normal VM.
|
||||
By default a DispVM will inherit the NetVM and firewall settings of the VM from which it is launched.
|
||||
Thus if an AppVM uses sys-net as its NetVM, any DispVM launched from this AppVM will also have sys-net as its NetVM.
|
||||
You can change this behaviour for individual VMs: in Qubes VM Manager open VM Settings for the VM in question and go to the "Advanced" tab.
|
||||
Here you can edit the "NetVM for DispVM" setting to change the NetVM of any DispVM launched from that VM.
|
||||
|
||||
A Disposable VM launched from the Start Menu inherits the NetVM of the [DVM Template](/doc/glossary/#dvm-template).
|
||||
By default the DVM template is called `fedora-XX-dvm` (where `XX` is the Fedora version of the default TemplateVM).
|
||||
As an "internal" VM it is hidden in Qubes VM Manager, but can be shown by selecting "Show/Hide internal VMs".
|
||||
Note that changing the "NetVM for DispVM" setting for the DVM Template does *not* affect the NetVM of DispVMs launched from the Start Menu; only changing the DVM Template's own NetVM does.
|
||||
|
||||
Opening a file in a Disposable VM via GUI
|
||||
-----------------------------------------
|
||||
|
||||
In an AppVM's file manager, right click on the file you wish to open in a Disposable VM, then choose "Open in Disposable VM".
|
||||
Wait a few seconds and the default application for this file type should appear displaying the file content.
|
||||
This app is running in its own dedicated VM -- a Disposable VM created for the purpose of viewing or editing this very file.
|
||||
Once you close the viewing application the whole Disposable VM will be destroyed.
|
||||
If you have edited the file and saved the changes, the changed file will be saved back to the original AppVM, overwriting the original.
|
||||
|
||||
![r1-open-in-dispvm-1.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-1.png) ![r1-open-in-dispvm-2.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-2.png)
|
||||
|
||||
Opening a fresh web browser instance in a new Disposable VM
|
||||
-----------------------------------------------------------
|
||||
|
||||
Sometimes it is desirable to open an instance of Firefox within a new fresh Disposable VM.
|
||||
This can be done easily using the Start Menu: just go to **Application Menu -\> DisposableVM -\> DispVM:Firefox web browser**.
|
||||
Wait a few seconds until a web browser starts.
|
||||
Once you close the viewing application the whole Disposable VM will be destroyed.
|
||||
|
||||
![r1-open-in-dispvm-3.png](/attachment/wiki/DisposableVms/r1-open-in-dispvm-3.png)
|
||||
|
||||
Opening a file in a Disposable VM via command line (from AppVM)
|
||||
---------------------------------------------------------------
|
||||
|
||||
Use the `qvm-open-in-dvm` command from a terminal in your AppVM:
|
||||
|
||||
~~~
|
||||
[user@work-pub ~]$ qvm-open-in-dvm Downloads/apple-sandbox.pdf
|
||||
~~~
|
||||
|
||||
Note that the `qvm-open-in-dvm` process will not exit until you close the application in the Disposable VM.
|
||||
|
||||
Starting an arbitrary program in a Disposable VM from an AppVM
|
||||
--------------------------------------------------------------
|
||||
|
||||
Sometimes it can be useful to start an arbitrary program in a DispVM. This can be done from an AppVM by running
|
||||
|
||||
~~~
|
||||
[user@vault ~]$ qvm-run '$dispvm' xterm
|
||||
~~~
|
||||
|
||||
The created Disposable VM can be accessed via other tools (such as `qvm-copy-to-vm`) using its `disp####` name as shown in the Qubes Manager or `qvm-ls`.
|
||||
|
||||
Starting an arbitrary application in a Disposable VM via command line (from Dom0)
|
||||
---------------------------------------------------------------------------------
|
||||
|
||||
The Start Menu has shortcuts for opening a terminal and a web browser in dedicated DispVMs, since these are very common tasks.
|
||||
However, it is possible to start an arbitrary application in a DispVM directly from Dom0 by running
|
||||
|
||||
R4.0 (border colour will be inherited from that set in the `dispvm-template`)
|
||||
~~~
|
||||
[joanna@dom0 ~]$ qvm-run --dispvm=dispvm-template --service qubes.StartApp+xterm
|
||||
~~~
|
||||
|
||||
R3.2 (border colour can be specified in the command)
|
||||
~~~
|
||||
[joanna@dom0 ~]$ echo xterm | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red
|
||||
~~~
|
||||
|
||||
(The Disposable VM appmenu used for starting Firefox runs a very similar command to the one above.)
|
||||
|
||||
Customizing Disposable VMs
|
||||
--------------------------
|
||||
|
||||
You can change the template used to generate the Disposable VMs, and change settings used in the Disposable VM savefile.
|
||||
These changes will be reflected in every new Disposable VM based on that template.
|
||||
Full instructions can be found [here](/doc/dispvm-customization/).
|
||||
|
||||
Disposable VMs and Local Forensics
|
||||
----------------------------------
|
||||
|
||||
At this time, DispVMs should not be relied upon to circumvent local forensics, as they do not run entirely in RAM.
|
||||
For details, see [this thread](https://groups.google.com/d/topic/qubes-devel/QwL5PjqPs-4/discussion).
|
||||
|
||||
When it is essential to avoid leaving any trace, consider using [Tails](https://tails.boum.org/).
|
@ -76,7 +76,7 @@ If you only want to create a shortcut for a single AppVM, you can create a custo
|
||||
What about applications in DispVMs?
|
||||
-----------------------------------
|
||||
|
||||
[See here](/doc/dispvm-customization/#adding-arbitrary-programs-to-disposable-vm-application-menu).
|
||||
[See here](/doc/disposablevm-customization/#adding-arbitrary-programs-to-disposablevm-application-menu).
|
||||
|
||||
Behind the scenes
|
||||
-----------------
|
||||
|
@ -123,7 +123,7 @@ sudo qubes-dom0-update --enablerepo=qubes-dom0-security-testing
|
||||
sudo qubes-dom0-update --enablerepo=qubes-dom0-unstable
|
||||
~~~
|
||||
|
||||
To enable or disable any of these repos permanently, change the corresponding boolean in
|
||||
To enable or disable any of these repos permanently, change the corresponding `enabled` value to `1` in
|
||||
`/etc/yum.repos.d/qubes-dom0.repo`.
|
||||
|
||||
### Kernel Upgrade ###
|
||||
|
@ -68,7 +68,7 @@ sudo dnf upgrade --enablerepo=qubes-vm-*-security-testing
|
||||
sudo dnf upgrade --enablerepo=qubes-vm-*-unstable
|
||||
~~~
|
||||
|
||||
To enable or disable any of these repos permanently, change the corresponding boolean in `/etc/yum.repos.d/qubes-*.repo`.
|
||||
To enable or disable any of these repos permanently, change the corresponding `enabled` value to `1` in `/etc/yum.repos.d/qubes-*.repo`.
|
||||
|
||||
### Debian ###
|
||||
|
||||
@ -327,7 +327,7 @@ But, of course, the problem of finding malware hooks in general is hard, so this
|
||||
Also note that the user filesystem's metadata might got maliciously modified by malware in order to exploit a hypothetical bug in the AppVM kernel whenever it mounts the malformed filesystem.
|
||||
However, these exploits will automatically stop working (and so the infection might be cleared automatically) after the hypothetical bug got patched and the update applied (via template update), which is an exceptional feature of Qubes OS.
|
||||
|
||||
Also note that Disposable VMs do not have persistent user filesystem, and so they start up completely "clean" every time.
|
||||
Also note that DisposableVMs do not have persistent user filesystem, and so they start up completely "clean" every time.
|
||||
Note the word "clean" means in this context: the same as their template filesystem, of course.
|
||||
|
||||
RPMFusion for a Fedora TemplateVM
|
||||
|
@ -30,7 +30,7 @@ As a result, installation of such third-party RPMs in a default template VM expo
|
||||
(Again, it's not buggy or malicious drivers that we fear here, but rather malicious installation scripts for those drivers).
|
||||
|
||||
In order to mitigate this risk, one might consider creating a custom template (i.e. clone the original template) and then install the third-party, unverified drivers there.
|
||||
Such template might then be made a DVM template for [Disposable VM creation](/doc/dispvm/), which should allow one to print any document by right-clicking on it, choosing "Open in Disposable VM" and print from there.
|
||||
Such template might then be made a DVM template for [DisposableVM creation](/doc/disposablevm/), which should allow one to print any document by right-clicking on it, choosing "Open in DisposableVM" and print from there.
|
||||
This would allow to print documents from more trusted AppVMs (based on a trusted default template that is not poisoned by third-party printer drivers).
|
||||
|
||||
However, one should be aware that most (all?) network printing protocols are insecure, unencrypted protocols.
|
||||
|
@ -16,6 +16,7 @@ Resize Disk Image
|
||||
|
||||
There are several disk images which can be easily extended, but pay attention to the overall consumed space of your sparse/thin disk images.
|
||||
See also [OS Specific Follow-up Instructions](/doc/resize-disk-image/#os-specific-follow-up-instructions) at the end of this page.
|
||||
Since a TemplateBasedVM [inherits its system filesystem from the Template on which it is based](/getting-started/#appvms-qubes-and-templatevms), it is not possible to resize the system disk for a TemplateBasedVM.
|
||||
|
||||
|
||||
### Template disk image (R4.0)
|
||||
|
@ -240,6 +240,24 @@ This way dom0 doesn't directly interact with potentially malicious target VMs;
|
||||
and in the case of a compromised Salt VM, because they are temporary, the
|
||||
compromise cannot spread from one VM to another.
|
||||
|
||||
In Qubes 3.2, this temporary VM is based on the default template.
|
||||
|
||||
Beginning with Qubes 4.0 and after [QSB #45], we implemented two changes:
|
||||
|
||||
1. Added the `management_dispvm` VM property, which specifies the DVM
|
||||
Template that should be used for management, such as Salt
|
||||
configuration. TemplateBasedVMs inherit this property from their
|
||||
parent TemplateVMs. If the value is not set explicitly, the default
|
||||
is taken from the global `management_dispvm` property. The
|
||||
VM-specific property is set with the `qvm-prefs` command, while the
|
||||
global property is set with the `qubes-prefs` command.
|
||||
|
||||
2. Created the `default-mgmt-dvm` DVM Template, which is hidden from
|
||||
the menu (to avoid accidental use), has networking disabled, and has
|
||||
a black label (the same as TemplateVMs). This VM is set as the global
|
||||
`management_dispvm`. Keep in mind that this DVM template has full control
|
||||
over the VMs it's used to manage.
|
||||
|
||||
## Writing Your Own Configurations
|
||||
|
||||
Let's start with a quick example:
|
||||
@ -410,7 +428,7 @@ Vault AppVM with no NetVM enabled.
|
||||
|
||||
#### `qvm.default-dispvm`
|
||||
|
||||
Default Disposable VM template - fedora-26-dvm AppVM
|
||||
Default DisposableVM template - fedora-26-dvm AppVM
|
||||
|
||||
#### `qvm.anon-whonix`
|
||||
|
||||
@ -418,7 +436,7 @@ Whonix workstation AppVM.
|
||||
|
||||
#### `qvm.whonix-ws-dvm`
|
||||
|
||||
Whonix workstation AppVM for Whonix Disposable VMs.
|
||||
Whonix workstation AppVM for Whonix DisposableVMs.
|
||||
|
||||
#### `qvm.updates-via-whonix`
|
||||
|
||||
@ -519,11 +537,10 @@ The solution is to shut down the updateVM between each install:
|
||||
* [Top files][salt-doc-top]
|
||||
* [Jinja templates][jinja]
|
||||
* [Qubes specific modules][salt-qvm-doc]
|
||||
* [Formulas for default Qubes VMs][salt-virtual-machines-doc] ([and actual states][salt-virtual-machines-states])
|
||||
* [Formulas for default Qubes VMs][salt-virtual-machines-states]
|
||||
|
||||
[salt-doc]: https://docs.saltstack.com/en/latest/
|
||||
[salt-qvm-doc]: https://github.com/QubesOS/qubes-mgmt-salt-dom0-qvm/blob/master/README.rst
|
||||
[salt-virtual-machines-doc]: https://github.com/QubesOS/qubes-mgmt-salt-dom0-virtual-machines/blob/master/README.rst
|
||||
[salt-virtual-machines-states]: https://github.com/QubesOS/qubes-mgmt-salt-dom0-virtual-machines/tree/master/qvm
|
||||
[salt-doc-states]: https://docs.saltstack.com/en/latest/ref/states/all/
|
||||
[salt-doc-states-file]: https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html
|
||||
@ -536,3 +553,4 @@ The solution is to shut down the updateVM between each install:
|
||||
[jinja]: http://jinja.pocoo.org/
|
||||
[jinja-tmp]: http://jinja.pocoo.org/docs/2.9/templates/
|
||||
[jinja-call-salt-functions]: https://docs.saltstack.com/en/getstarted/config/jinja.html#get-data-using-salt
|
||||
[QSB #45]: /news/2018/12/03/qsb-45/
|
||||
|
@ -18,7 +18,7 @@ Beware: Dragons might eat your precious data!
|
||||
Install ZFS in Dom0
|
||||
===================
|
||||
|
||||
Install DKMS style packages for Fedora <sup>(defunct\\ in\\ 0.6.2\\ due\\ to\\ spl/issues/284)</sup>
|
||||
Install DKMS style packages for Fedora <sup>(defunct in 0.6.2 due to spl/issues/284)</sup>
|
||||
----------------------------------------------------------------------------------------------------
|
||||
|
||||
Fetch and install repository for DKMS style packages for your Dom0 Fedora version [http://zfsonlinux.org/fedora.html](http://zfsonlinux.org/fedora.html):
|
||||
@ -37,7 +37,7 @@ Install DKMS style packages from git-repository
|
||||
|
||||
Build and install your DKMS or KMOD packages as described in [http://zfsonlinux.org/generic-rpm.html](http://zfsonlinux.org/generic-rpm.html).
|
||||
|
||||
### Prerequisites steps in AppVM <sup>(i.e.\\ disp1)</sup>
|
||||
### Prerequisites steps in AppVM <sup>(i.e. disp1)</sup>
|
||||
|
||||
Checkout repositories for SPL and ZFS:
|
||||
|
||||
|
@ -1,31 +1,41 @@
|
||||
---
|
||||
layout: doc
|
||||
title: Disposable VM Customization
|
||||
permalink: /doc/dispvm-customization/
|
||||
title: DisposableVM Customization
|
||||
permalink: /doc/disposablevm-customization/
|
||||
redirect_from:
|
||||
- /doc/dispvm-customization/
|
||||
- /en/doc/dispvm-customization/
|
||||
- /doc/DispVMCustomization/
|
||||
- /doc/UserDoc/DispVMCustomization/
|
||||
- /wiki/UserDoc/DispVMCustomization/
|
||||
---
|
||||
|
||||
Disposable VM Customization
|
||||
DisposableVM Customization
|
||||
============================
|
||||
|
||||
Security
|
||||
--------
|
||||
|
||||
If a DVM Template becomes compromised, then any DisposableVM based on that DVM Template could be compromised.
|
||||
Therefore, you should not make any risky customizations (e.g., installing untrusted browser plugins) in important DVM Templates.
|
||||
In particular, the *default* DVM Template is important becuase it is used by the "Open in DisposableVM" feature.
|
||||
This means that it will have access to everything that you open with this feature.
|
||||
For this reason, it is strongly recommended that you base the default DVM Template on a trusted TemplateVM and refrain from making any risky customizations to it.
|
||||
|
||||
Qubes 4.0
|
||||
----------
|
||||
|
||||
Disposable VM (DispVM) in Qubes 4.0 can be based on any TemplateBasedVM. You can also choose to use different AppVMs for different Disposable VMs. To prepare AppVM to be a base for Disposable VM, you need to set `template_for_dispvms` property, for example:
|
||||
A DisposableVM (previously known as a "DispVM") in Qubes 4.0 can be based on any TemplateBasedVM. You can also choose to use different AppVMs for different DisposableVMs. To prepare AppVM to be a base for DisposableVM, you need to set `template_for_dispvms` property, for example:
|
||||
|
||||
[user@dom0 ~]$ qvm-prefs fedora-26-dvm template_for_dispvms True
|
||||
|
||||
Additionally, if you want to have menu entries for starting applications in Disposable VM based on this AppVM (instead of in the AppVM itself), you can achieve it with `appmenus-dispvm` feature:
|
||||
Additionally, if you want to have menu entries for starting applications in DisposableVM based on this AppVM (instead of in the AppVM itself), you can achieve it with `appmenus-dispvm` feature:
|
||||
|
||||
[user@dom0 ~]$ qvm-features fedora-26-dvm appmenus-dispvm 1
|
||||
|
||||
### Creating new Disposable VM base AppVM ###
|
||||
### Creating new DisposableVM base AppVM ###
|
||||
|
||||
In Qubes 4.0, you're no longer restricted to a single DVM Template. Instead, you can create as many as you want. Whenever you start a new Disposable VM, you can choose to base it on whichever DVM Template you like.
|
||||
In Qubes 4.0, you're no longer restricted to a single DVM Template. Instead, you can create as many as you want. Whenever you start a new DisposableVM, you can choose to base it on whichever DVM Template you like.
|
||||
To create new DVM Template, lets say `custom-dvm`, based on `debian-9` template, use following commands:
|
||||
|
||||
[user@dom0 ~]$ qvm-create --template debian-9 --label red custom-dvm
|
||||
@ -36,30 +46,30 @@ Additionally you may want to set it as default DVM Template:
|
||||
|
||||
[user@dom0 ~]$ qubes-prefs default_dispvm custom-dvm
|
||||
|
||||
The above default is used whenever a qube request starting a new Disposable VM and do not specify which one (for example `qvm-open-in-dvm` tool). This can be also set in qube settings and will affect service calls from that qube. See [qrexec documentation](/doc/qrexec3/#extra-keywords-available-in-qubes-40-and-later) for details.
|
||||
The above default is used whenever a qube request starting a new DisposableVM and do not specify which one (for example `qvm-open-in-dvm` tool). This can be also set in qube settings and will affect service calls from that qube. See [qrexec documentation](/doc/qrexec3/#extra-keywords-available-in-qubes-40-and-later) for details.
|
||||
|
||||
If you wish to use the `fedora-minimal` template as a DVM Template, see the "DVM Template" use case under [fedora-minimal customization](/doc/templates/fedora-minimal/#customization).
|
||||
|
||||
|
||||
### Customization of Disposable VM ###
|
||||
### Customization of DisposableVM ###
|
||||
|
||||
It is possible to change the settings for each new Disposable VM (DispVM). This can be done by customizing the base AppVM:
|
||||
It is possible to change the settings for each new DisposableVM. This can be done by customizing the base AppVM:
|
||||
|
||||
1. Start a terminal in the `fedora-26-dvm` qube (or another base for DispVM) by running the following command in a dom0 terminal. (If you enable `appmenus-dispvm` feature (as explained at the top), applications menu for this VM (`fedora-26-dvm`) will be "Disposable: fedora-26-dvm" (instead of "Domain: fedora-26-dvm") and entries there will start new DispVM based on that VM (`fedora-26-dvm`). Not in that VM (`fedora-26-dvm`) itself).
|
||||
1. Start a terminal in the `fedora-26-dvm` qube (or another base for DisposableVM) by running the following command in a dom0 terminal. (If you enable `appmenus-dispvm` feature (as explained at the top), applications menu for this VM (`fedora-26-dvm`) will be "Disposable: fedora-26-dvm" (instead of "Domain: fedora-26-dvm") and entries there will start new DisposableVM based on that VM (`fedora-26-dvm`). Not in that VM (`fedora-26-dvm`) itself).
|
||||
|
||||
[user@dom0 ~]$ qvm-run -a fedora-26-dvm gnome-terminal
|
||||
|
||||
2. Change the qube's settings and/or applications, as desired. Some examples of changes you may want to make include:
|
||||
- Changing Firefox's default startup settings and homepage.
|
||||
- Changing default editor, image viewer.
|
||||
- Changing the DispVM's default NetVM. For example, you may wish to set the NetVM to "none." Then, whenever you start a new DispVM, you can choose your desired ProxyVM manually (by changing the newly-started DispVMs settings). This is useful if you sometimes wish to use a DispVM with a Whonix Gateway, for example. It is also useful if you sometimes wish to open untrusted files in a network-disconnected DispVM.
|
||||
- Changing the DisposableVM's default NetVM. For example, you may wish to set the NetVM to "none." Then, whenever you start a new DisposableVM, you can choose your desired ProxyVM manually (by changing the newly-started DisposableVMs settings). This is useful if you sometimes wish to use a DisposableVM with a Whonix Gateway, for example. It is also useful if you sometimes wish to open untrusted files in a network-disconnected DisposableVM.
|
||||
|
||||
4. Shutdown the qube (either by `poweroff` from qube's terminal, or `qvm-shutdown` from dom0 terminal).
|
||||
|
||||
|
||||
### Using static Disposable VMs for sys-* ###
|
||||
### Using static DisposableVMs for sys-* ###
|
||||
|
||||
You can use a static DispVM for `sys-*` as long as it is stateless.
|
||||
You can use a static DisposableVM for `sys-*` as long as it is stateless.
|
||||
For example, a `sys-net` using DHCP or `sys-usb` will work.
|
||||
In most cases `sys-firewall` will also work, even if you have configured AppVM firewall rules.
|
||||
The only exception is if you require something like VM to VM communication and have manually edited `iptables` or other items directly inside the firewall AppVM.
|
||||
@ -88,7 +98,7 @@ qvm-service <sys-VMName> meminfo-writer off
|
||||
qvm-pci attach --persistent <sys-VMName> dom0:<BDF>
|
||||
qvm-prefs <sys-VMName> autostart true
|
||||
qvm-prefs <sys-VMName> netvm ''
|
||||
# optional, if this DispVM will be providing networking
|
||||
# optional, if this DisposableVM will be providing networking
|
||||
qvm-prefs <sys-VMName> provides_network true
|
||||
~~~
|
||||
|
||||
@ -109,31 +119,31 @@ qvm-prefs sys-firewall netvm sys-net2
|
||||
qubes-prefs clockvm sys-net2
|
||||
~~~
|
||||
|
||||
Note that these types of DispVMs will not show in the Application menu, but you can still get to a terminal if needed with `qvm-run <sys-VMName> gnome-terminal`.
|
||||
Note that these types of DisposableVMs will not show in the Application menu, but you can still get to a terminal if needed with `qvm-run <sys-VMName> gnome-terminal`.
|
||||
|
||||
### Adding programs to Disposable VM Application Menu ###
|
||||
### Adding programs to DisposableVM Application Menu ###
|
||||
|
||||
For added convenience, arbitrary programs can be added to the Application Menu of the Disposable VM.
|
||||
For added convenience, arbitrary programs can be added to the Application Menu of the DisposableVM.
|
||||
|
||||
In order to do that, select "Qube settings" entry in selected base AppVM, go to "Applications" tab and select desired applications as for any other qube.
|
||||
|
||||
Note that currently only applications whose main process keeps running until you close the application (i.e. do not start a background process instead) will work. One of known examples of incompatible applications is GNOME Terminal (shown on the list as "Terminal"). Choose different terminal emulator (like XTerm) instead.
|
||||
|
||||
### Create Custom sys-net sys-firewall and sys-usb DispVMs ###
|
||||
### Create Custom sys-net sys-firewall and sys-usb DisposableVMs ###
|
||||
|
||||
Users have the option of creating customized DispVMs for the `sys-net`, `sys-firewall` and `sys-usb` VMs. In this configuration, a fresh VM instance is created each time a DispVM is launched. Functionality is near-identical to the default VMs created following a new Qubes’ installation, except the user benefits from a non-persistent filesystem.
|
||||
Users have the option of creating customized DisposableVMs for the `sys-net`, `sys-firewall` and `sys-usb` VMs. In this configuration, a fresh VM instance is created each time a DisposableVM is launched. Functionality is near-identical to the default VMs created following a new Qubes’ installation, except the user benefits from a non-persistent filesystem.
|
||||
|
||||
Functionality is not limited, users can:
|
||||
|
||||
* Set custom firewall rule sets and run Qubes VPN scripts.
|
||||
* Set DispVMs to autostart at system boot.
|
||||
* Set DisposableVMs to autostart at system boot.
|
||||
* Attach PCI devices with the `--persistent` option.
|
||||
|
||||
Using DispVMs in this manner is ideal for untrusted qubes which require persistent PCI devices, such as USB VMs and NetVMs.
|
||||
Using DisposableVMs in this manner is ideal for untrusted qubes which require persistent PCI devices, such as USB VMs and NetVMs.
|
||||
|
||||
>_**Note:**_ Users who want customized VPN or firewall rule sets must create a separate dvm for use by each DispVM. If dvm customization is not needed, then a single dvm is used as a template for all DispVMs.
|
||||
>_**Note:**_ Users who want customized VPN or firewall rule sets must create a separate dvm for use by each DisposableVM. If dvm customization is not needed, then a single dvm is used as a template for all DisposableVMs.
|
||||
|
||||
#### Create and configure the dvm from which the DispVM will be based on ####
|
||||
#### Create and configure the dvm from which the DisposableVM will be based on ####
|
||||
|
||||
1. Create the dvm
|
||||
|
||||
@ -143,13 +153,13 @@ Using DispVMs in this manner is ideal for untrusted qubes which require persiste
|
||||
|
||||
Firewall rules sets and Qubes VPN scripts can be added just like any other VM
|
||||
|
||||
3. Set the dvm as template for DispVMs
|
||||
3. Set the dvm as template for DisposableVMs
|
||||
|
||||
[user@dom0 ~]$ qvm-prefs <dvm_name> template_for_dispvms true
|
||||
|
||||
#### Create the sys-net DispVM ####
|
||||
#### Create the sys-net DisposableVM ####
|
||||
|
||||
1. Create `sys-net` DispVM based on the dvm
|
||||
1. Create `sys-net` DisposableVM based on the dvm
|
||||
|
||||
[user@dom0 ~]$ qvm-create --template <dvm_name> --class DispVM --label red disp-sys-net
|
||||
|
||||
@ -181,9 +191,9 @@ Using DispVMs in this manner is ideal for untrusted qubes which require persiste
|
||||
|
||||
[user@dom0 ~]$ qubes-prefs clockvm disp-sys-net
|
||||
|
||||
#### Create the sys-firewall DispVM ####
|
||||
#### Create the sys-firewall DisposableVM ####
|
||||
|
||||
1. Create `sys-firewall` DispVM
|
||||
1. Create `sys-firewall` DisposableVM
|
||||
|
||||
[user@dom0 ~]$ qvm-create --template <dvm_name> --class DispVM --label green disp-sys-firewall
|
||||
|
||||
@ -207,7 +217,7 @@ Using DispVMs in this manner is ideal for untrusted qubes which require persiste
|
||||
|
||||
[user@dom0 ~]$ qubes-prefs default_netvm disp-sys-firewall
|
||||
|
||||
#### Create the sys-usb DispVM ####
|
||||
#### Create the sys-usb DisposableVM ####
|
||||
|
||||
1. Create the `disp-sys-usb`
|
||||
|
||||
@ -238,9 +248,9 @@ Using DispVMs in this manner is ideal for untrusted qubes which require persiste
|
||||
7. Users should now follow instructions on [How to hide USB controllers from dom0](/doc/usb/#how-to-hide-all-usb-controllers-from-dom0)
|
||||
|
||||
|
||||
#### Starting the DispVMs ####
|
||||
#### Starting the DisposableVMs ####
|
||||
|
||||
Prior to starting the new VMs, users should ensure that no other VMs such as the old `sys-net` and `sys-usb` VMs are running. This is because no two VMs can share the same PCI device while both running. It is recommended that users detach the PCI devices from the old VMs without deleting them. This will allow users to reattach the PCI devices if the newly created DispVMs fail to start.
|
||||
Prior to starting the new VMs, users should ensure that no other VMs such as the old `sys-net` and `sys-usb` VMs are running. This is because no two VMs can share the same PCI device while both running. It is recommended that users detach the PCI devices from the old VMs without deleting them. This will allow users to reattach the PCI devices if the newly created DisposableVMs fail to start.
|
||||
|
||||
Detach PCI device from VM
|
||||
|
||||
@ -254,7 +264,7 @@ The `disp-sys-usb` VM does not start
|
||||
If the `disp-sys-usb` does not start, it could be due to a PCI passthrough problem. For more details on this issue along with possible solutions, users can look [here](/doc/assigning-devices/#pci-passthrough-issues)
|
||||
|
||||
|
||||
### Deleting Disposable VM ###
|
||||
### Deleting DisposableVM ###
|
||||
|
||||
Deleting disposable VM is slightly peculiar. While working in a VM or disposable VM, you may want to open a document in another disposable VM. For this reason, the property `default_dispvm` may be set to the name of your disposable VM in a number of VMs:
|
||||
|
||||
@ -282,15 +292,15 @@ Qubes 3.2
|
||||
|
||||
You may want to use a non-default template the [DVM Template](/doc/glossary/#dvm-template). One example is to use a less-trusted template with some less trusted, third-party, often unsigned, applications installed, such as e.g. third-party printer drivers.
|
||||
|
||||
In order to regenerate the Disposable VM "snapshot" (called 'savefile' on Qubes) one can use the following command in Dom0:
|
||||
In order to regenerate the DisposableVM "snapshot" (called 'savefile' on Qubes) one can use the following command in Dom0:
|
||||
|
||||
[user@dom0 ~]$ qvm-create-default-dvm <custom-template-name>
|
||||
|
||||
This would create a new Disposable VM savefile based on the custom template.
|
||||
This would create a new DisposableVM savefile based on the custom template.
|
||||
For example `<custom-template-name>` could be the name of the existing `debian-8` vm, which creates the disposable vm `debain-8-dvm`.
|
||||
Now, whenever one opens a file (from any AppVM) in a Disposable VM, a Disposable VM based on this template will be used.
|
||||
Now, whenever one opens a file (from any AppVM) in a DisposableVM, a DisposableVM based on this template will be used.
|
||||
|
||||
One can easily verify if the new Disposable VM template is indeed based on a custom template (in the example below the template called "f17-yellow" was used as a basis for the Disposable VM):
|
||||
One can easily verify if the new DisposableVM template is indeed based on a custom template (in the example below the template called "f17-yellow" was used as a basis for the DisposableVM):
|
||||
|
||||
|
||||
[user@dom0 ~]$ ll /var/lib/qubes/dvmdata/
|
||||
@ -302,19 +312,19 @@ One can easily verify if the new Disposable VM template is indeed based on a cus
|
||||
If you wish to use the `fedora-minimal` template as a DVM Template, see the "DVM Template" use case under [fedora-minimal customization](/doc/templates/fedora-minimal/#customization).
|
||||
|
||||
|
||||
### Customization of Disposable VM ###
|
||||
### Customization of DisposableVM ###
|
||||
|
||||
It is possible to change the settings of each new Disposable VM (DispVM). This can be done by customizing the DispVM template:
|
||||
It is possible to change the settings of each new DisposableVM. This can be done by customizing the DVM Template:
|
||||
|
||||
1. Start a terminal in the `fedora-23-dvm` TemplateVM by running the following command in a dom0 terminal. (By default, this TemplateVM is not shown in Qubes VM Manager. However, it can be shown by selecting "Show/Hide internal VMs.")
|
||||
|
||||
|
||||
[user@dom0 ~]$ qvm-run -a fedora-23-dvm gnome-terminal
|
||||
|
||||
2. Change the VM's settings and/or applications, as desired. Note that currently Qubes supports exactly one DispVM template, so any changes you make here will affect all DispVMs. Some examples of changes you may want to make include:
|
||||
2. Change the VM's settings and/or applications, as desired. Note that currently Qubes supports exactly one DVM Template, so any changes you make here will affect all DisposableVMs. Some examples of changes you may want to make include:
|
||||
- Changing Firefox's default startup settings and homepage.
|
||||
- Changing Nautilus' default file preview settings.
|
||||
- Changing the DispVM's default NetVM. For example, you may wish to set the NetVM to "none." Then, whenever you start a new DispVM, you can choose your desired ProxyVM manually (by changing the newly-started DispVM's settings). This is useful if you sometimes wish to use a DispVM with a Whonix Gateway, for example. It is also useful if you sometimes wish to open untrusted files in a network-disconnected DispVM.
|
||||
- Changing the DisposableVM's default NetVM. For example, you may wish to set the NetVM to "none." Then, whenever you start a new DisposableVM, you can choose your desired ProxyVM manually (by changing the newly-started DisposableVM's settings). This is useful if you sometimes wish to use a DisposableVM with a Whonix Gateway, for example. It is also useful if you sometimes wish to open untrusted files in a network-disconnected DisposableVM.
|
||||
|
||||
3. Create an empty `/home/user/.qubes-dispvm-customized` file in the VM (not in dom0):
|
||||
|
||||
@ -322,11 +332,11 @@ It is possible to change the settings of each new Disposable VM (DispVM). This c
|
||||
[user@fedora-23-dvm ~]$ touch /home/user/.qubes-dispvm-customized
|
||||
|
||||
4. Shutdown the VM (either by `poweroff` from VM terminal, or `qvm-shutdown` from dom0 terminal).
|
||||
5. Regenerate the DispVM template using the default template:
|
||||
5. Regenerate the DVM Template using the default template:
|
||||
|
||||
[user@dom0 ~]$ qvm-create-default-dvm --default-template
|
||||
|
||||
Or, if you're [using a non-default template](#changing-the-dvm-template), regenerate the DispVM using your custom template:
|
||||
Or, if you're [using a non-default template](#changing-the-dvm-template), regenerate the DVM Template using your custom template:
|
||||
|
||||
[user@dom0 ~]$ qvm-create-default-dvm <custom-template-name>
|
||||
|
||||
@ -334,9 +344,9 @@ It is possible to change the settings of each new Disposable VM (DispVM). This c
|
||||
**Note:** All of the above requires at least qubes-core-vm \>= 2.1.2 installed in template.
|
||||
|
||||
|
||||
### Adding arbitrary programs to Disposable VM Application Menu ###
|
||||
### Adding arbitrary programs to DisposableVM Application Menu ###
|
||||
|
||||
For added convenience, arbitrary programs can be added to the Application Menu of the Disposable VM. In order to do that create (e.g.) `arbitrary.desktop` file in `/usr/local/share/applications` in Dom0. That file will point to the desired program. Use the following template for the file:
|
||||
For added convenience, arbitrary programs can be added to the Application Menu of the DisposableVM. In order to do that create (e.g.) `arbitrary.desktop` file in `/usr/local/share/applications` in Dom0. That file will point to the desired program. Use the following template for the file:
|
||||
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
@ -359,4 +369,4 @@ Add a `<Filename>arbitrary.desktop</Filename>` line so that your modified file l
|
||||
<Filename>arbitrary.desktop</Filename>
|
||||
</Include>
|
||||
|
||||
After saving the changes the new shortcut should appear in the Disposable VM Applications menu.
|
||||
After saving the changes the new shortcut should appear in the DisposableVM Applications menu.
|
@ -11,18 +11,25 @@ redirect_from:
|
||||
|
||||
# i3 installation in dom0
|
||||
|
||||
i3 is part of the testing repository (as of Qubes R3.1) and can be installed from there
|
||||
using the dom0 update mechanism.
|
||||
i3 is part of the stable repository (as of Qubes R3.1) and can be installed by
|
||||
using the [dom0 update mechanism](/doc/software-update-dom0/). To install the i3
|
||||
window manager and the its Qubes specific configuration:
|
||||
|
||||
$ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing i3
|
||||
|
||||
Qubes-specific configuation is available in a separate package and can be installed
|
||||
optionally. Otherwise you can write your own configuration (see below).
|
||||
$ sudo qubes-dom0-update i3 i3-settings-qubes
|
||||
|
||||
The Qubes-specific configuration (package `i3-settings-qubes`) can be installed
|
||||
optionally in case you would prefer writing your own configuration (see
|
||||
[customization](#customization) section for scripts and configuration).
|
||||
|
||||
$ sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing i3-settings-qubes
|
||||
|
||||
That's it. After logging out, you can select i3 in the login manager.
|
||||
|
||||
### Customization
|
||||
|
||||
* [xdg_autostart_script](https://gist.github.com/SietsevanderMolen/7b4cc32ce7b4884513b0a639540e454f)
|
||||
* [i3bar_script](https://gist.github.com/SietsevanderMolen/e7f594f209dfaa3596907e427b657e30)
|
||||
* [terminal_start_script](https://gist.github.com/SietsevanderMolen/7c6f2b5773dbc0c08e1509e49abd1e96)
|
||||
* [i3 config with dmenu-i3-window-jumper](https://github.com/anadahz/qubes-i3-config/blob/master/config)
|
||||
|
||||
## Compilation and installation from source
|
||||
|
||||
Note that the compilation from source is done in a Fedora based domU (could
|
||||
@ -33,7 +40,7 @@ installed through the package manager.
|
||||
|
||||
Clone the i3-qubes repository here:
|
||||
|
||||
$ git clone https://github.com/SietsevanderMolen/i3-qubes.git
|
||||
$ git clone https://github.com/QubesOS/qubes-desktop-linux-i3
|
||||
|
||||
In this case, the most interesting file is probably
|
||||
`i3/0001-Show-qubes-domain-in-non-optional-colored-borders.patch` It's the patch
|
||||
@ -47,7 +54,7 @@ it.
|
||||
### Building
|
||||
|
||||
You'll need to install the build dependencies, which are listed in
|
||||
build-deps.list. You can verify them and then install them with
|
||||
build-deps.list. You can verify them and then install them with:
|
||||
|
||||
$ sudo dnf install -y $(cat build-deps.list)
|
||||
|
||||
@ -76,12 +83,8 @@ dependencies that we can easily install with:
|
||||
rxvt-unicode xcb-util-wm perl-JSON-XS xcb-util-cursor \\
|
||||
dzen2 dmenu xorg-x11-fonts-misc libev
|
||||
|
||||
After that you can just install the generated rpm like any other local package
|
||||
After that you can just install the generated rpm like any other local package:
|
||||
|
||||
$ sudo yum localinstall i3.rpm
|
||||
|
||||
Log out, select i3, then log in again.
|
||||
|
||||
[xdg_autostart_script]:https://gist.github.com/SietsevanderMolen/7b4cc32ce7b4884513b0a639540e454f
|
||||
[i3bar_script]: https://gist.github.com/SietsevanderMolen/e7f594f209dfaa3596907e427b657e30
|
||||
[terminal_start_script]: https://gist.github.com/SietsevanderMolen/7c6f2b5773dbc0c08e1509e49abd1e96
|
||||
|
93
customization/removing-templatevm-packages.md
Normal file
93
customization/removing-templatevm-packages.md
Normal file
@ -0,0 +1,93 @@
|
||||
---
|
||||
layout: doc
|
||||
title: Removing TemplateVM Packages
|
||||
permalink: /doc/removing-templatevm-packages/
|
||||
---
|
||||
|
||||
# Removing TemplateVM Packages
|
||||
When removing any packages from a default TemplateVM, be sure to check what's being removed by `apt autoremove` or `dnf`.
|
||||
When removing certain packages, for instance Thunderbird, `apt` and `dnf` will attempt to remove many packages required by qubes for the template to function correctly under qubes.
|
||||
|
||||
As an example from a terminal in a TemplateVM:
|
||||
```shell_session
|
||||
$ sudo apt remove thunderbird
|
||||
Reading package lists... Done
|
||||
Building dependency tree
|
||||
Reading state information... Done
|
||||
The following packages were automatically installed and are no longer required:
|
||||
debugedit libjs-sphinxdoc libjs-underscore librpm3 librpmbuild3 librpmio3
|
||||
librpmsign3 libsqlite0 linux-headers-4.9.0-6-amd64
|
||||
linux-headers-4.9.0-6-common linux-image-4.9.0-6-amd64 python-backports-abc
|
||||
python-cffi-backend python-concurrent.futures python-croniter
|
||||
python-cryptography python-dateutil python-enum34 python-idna
|
||||
python-iniparse python-ipaddress python-jinja2 python-libxml2 python-lzma
|
||||
python-markupsafe python-msgpack python-openssl python-pyasn1 python-pycurl
|
||||
python-requests python-rpm python-singledispatch python-six python-sqlite
|
||||
python-sqlitecachec python-tornado python-tz python-urlgrabber
|
||||
python-urllib3 python-xpyb python-yaml qubes-core-agent-dom0-updates
|
||||
qubes-core-agent-passwordless-root qubes-gpg-split qubes-img-converter
|
||||
qubes-input-proxy-sender qubes-mgmt-salt-vm-connector qubes-pdf-converter
|
||||
qubes-usb-proxy rpm rpm-common rpm2cpio salt-common salt-ssh usbutils yum
|
||||
yum-utils
|
||||
Use 'sudo apt autoremove' to remove them.
|
||||
The following packages will be REMOVED:
|
||||
icedove lightning qubes-thunderbird qubes-vm-recommended thunderbird
|
||||
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
|
||||
After this operation, 151 MB disk space will be freed.
|
||||
Do you want to continue? [Y/n]
|
||||
```
|
||||
|
||||
Note all of the qubes packages are tracked as dependencies that will no longer be required. `apt remove` will only remove the packages listed, which is ok.
|
||||
If, however you also run `apt autoremove` the other qubes packages necessary for TemplateVMs will be removed.
|
||||
|
||||
If you'd still like to remove one of these applications without breaking your TemplateVM you have a couple different options.
|
||||
|
||||
## Removing Only Packages Not Needed for a Qubes TemplateVM
|
||||
|
||||
### Debian
|
||||
1. In your TemplateVM terminal run:
|
||||
```shell_session $ apt remove package-name```
|
||||
Note the packages "no longer required"
|
||||
2. If the list of "no longer required" packages includes anything beginning with `qubes-` or `salt-` make a note to yourself to **never** run `$ sudo apt autoremove` on this TemplateVM
|
||||
|
||||
**Recommended but optional:** Use `apt-mark` to make `apt autoremove` safe again.
|
||||
```shell_session
|
||||
$ sudo apt mark-manual package-name package-name
|
||||
```
|
||||
|
||||
Replace package-names with actual `qubes-*` and `salt-*` packages you'd like to retain.
|
||||
|
||||
For example, still in your TemplateVM terminal:
|
||||
```shell_session
|
||||
$ sudo apt-mark manual qubes-core-agent-dom0-updates qubes-core-agent-passwordless-root qubes-gpg-split qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector qubes-pdf-converter salt-common salt-ssh qubes-usb-proxy
|
||||
```
|
||||
|
||||
`$ apt autoremove` should now be safe to use.
|
||||
|
||||
### Fedora
|
||||
In your TemplateVM terminal, run:
|
||||
```shell_session
|
||||
$ dnf remove --noautoremove package-name
|
||||
```
|
||||
|
||||
|
||||
## Recovering A TemplateVM which you've already removed needed qubes-* packages
|
||||
If you've already removed packages, run `apt autoremove` and restarted your VM you've lost passwordless sudo access.
|
||||
You can login as root, open a terminal in dom0 and run:
|
||||
```shell_session
|
||||
$ qvm-run -u root vmname xterm
|
||||
```
|
||||
This will open an xterm terminal in the TemplateVM named `vmname`
|
||||
|
||||
Once you're logged in as root, reinstall these packages & their dependencies:
|
||||
|
||||
### Debian
|
||||
```shell_session
|
||||
$ sudo apt install qubes-core-agent-dom0-updates qubes-core-agent-passwordless-root qubes-gpg-split qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector qubes-pdf-converter salt-common salt-ssh
|
||||
```
|
||||
|
||||
### Fedora
|
||||
Similar to Debian for example (package names may vary):
|
||||
```shell_session
|
||||
$ sudo dnf install qubes-core-agent-dom0-updates qubes-core-agent-passwordless-root qubes-gpg-split qubes-img-converter qubes-input-proxy-sender qubes-mgmt-salt-vm-connector qubes-pdf-converter salt-common salt-ssh
|
||||
```
|
6
doc.md
6
doc.md
@ -66,7 +66,7 @@ Common Tasks
|
||||
* [Installing and Updating Software in dom0](/doc/software-update-dom0/)
|
||||
* [Installing and Updating Software in VMs](/doc/software-update-vm/)
|
||||
* [Backup, Restoration, and Migration](/doc/backup-restore/)
|
||||
* [Using Disposable VMs](/doc/dispvm/)
|
||||
* [Using DisposableVMs](/doc/disposablevm/)
|
||||
* [Using and Managing USB Devices](/doc/usb/)
|
||||
* [Recording Optical Discs](/doc/recording-optical-discs/)
|
||||
* [Managing Application Shortcuts](/doc/managing-appvm-shortcuts/)
|
||||
@ -158,11 +158,13 @@ Customization Guides
|
||||
* [Language Localization](/doc/language-localization/)
|
||||
* [Dark Theme in Dom0 and DomU](/doc/dark-theme/)
|
||||
* [How to make any file in a TemplateBasedVM persistent using bind-dirs](/doc/bind-dirs/)
|
||||
* [Safely Removing TemplateVM Packages (Example: Thunderbird)](/doc/removing-templatevm-packages/)
|
||||
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
* [Home directory is out of disk space error](/doc/out-of-memory/)
|
||||
* [Newer hardware doesn't work](/doc/newer-hardware-troubleshooting/)
|
||||
* [Installing on system with new AMD GPU (missing firmware problem)](https://groups.google.com/group/qubes-devel/browse_thread/thread/e27a57b0eda62f76)
|
||||
* [How to install an Nvidia driver in dom0](/doc/install-nvidia-driver/)
|
||||
* [Nvidia troubleshooting guide](/doc/nvidia-troubleshooting/)
|
||||
@ -248,7 +250,7 @@ Services
|
||||
* [Inter-domain file copying](/doc/qfilecopy/) (deprecates [`qfileexchgd`](/doc/qfileexchgd/))
|
||||
* [Dynamic memory management in Qubes](/doc/qmemman/)
|
||||
* [Implementation of DisposableVMs](/doc/dvm-impl/)
|
||||
* [Article about disposable VMs](http://theinvisiblethings.blogspot.com/2010/06/disposable-vms.html)
|
||||
* [Article about DisposableVMs](http://theinvisiblethings.blogspot.com/2010/06/disposable-vms.html)
|
||||
* [Dom0 secure update mechanism](/doc/dom0-secure-updates/)
|
||||
|
||||
Debugging
|
||||
|
@ -68,8 +68,8 @@ release. Currently, only Fedora, Debian, and Whonix TemplateVMs are officially s
|
||||
| Release 2 | 21 | None | None |
|
||||
| Release 3.0 | 21, 22\*, 23 | 7 ("wheezy")\*, 8 ("jessie") | None |
|
||||
| Release 3.1 | 21, 22\*, 23 | 7 ("wheezy")\*, 8 ("jessie"), 9 ("stretch")\* | None |
|
||||
| Release 3.2 | 23\*, 24\*, 25, 26, 27, 28 | 8 ("jessie"), 9 ("stretch") | 13, 14 |
|
||||
| Release 4.0 | 26, 27, 28 | 8 ("jessie"), 9 ("stretch") | 13, 14 |
|
||||
| Release 3.2 | 23\*, 24\*, 25\*, 26, 27, 28 | 8 ("jessie"), 9 ("stretch") | 13, 14 |
|
||||
| Release 4.0 | 26, 27, 28, 29 | 8 ("jessie"), 9 ("stretch") | 13, 14 |
|
||||
|
||||
\* Denotes versions for which we have published the packages but have not done
|
||||
extensive testing.
|
||||
|
@ -140,7 +140,7 @@ Important Notes (R4.0)
|
||||
|
||||
(1) Upon creation
|
||||
(2) Following shutdown
|
||||
(3) Including [DVM Templates](/doc/dispvm/#disposable-vms-and-networking-r40-and-later)
|
||||
(3) Including [DVM Templates](/doc/disposablevm/#disposablevms-and-networking-r40-and-later)
|
||||
|
||||
Important Notes (R3.2 and earlier)
|
||||
---------------
|
||||
|
@ -69,7 +69,7 @@ Use case | Description | Required steps
|
||||
**Standard utilities** | If you need the commonly used utilities | Install the following packages: `pciutils` `vim-minimal` `less` `psmisc` `gnome-keyring`
|
||||
**Audio** | If you want sound from your VM... | Install `pulseaudio-qubes`
|
||||
**FirewallVM** | You can use the minimal template as a [FirewallVM](/doc/firewall/), such as the basis template for `sys-firewall` | Install at least `qubes-core-agent-networking`, and also `qubes-core-agent-dom0-updates` if you want to use it as the updatevm (which is normally sys-firewall).
|
||||
**NetVM** | You can use this template as the basis for a NetVM such as `sys-net` | Install the following packages: `qubes-core-agent-networking` `qubes-core-agent-network-manager` `NetworkManager-wifi` `network-manager-applet` `wireless-tools` `dejavu-sans-fonts` `notification-daemon` `gnome-keyring` `@hardware-support`.
|
||||
**NetVM** | You can use this template as the basis for a NetVM such as `sys-net` | Install the following packages: `qubes-core-agent-networking` `qubes-core-agent-network-manager` `NetworkManager-wifi` `network-manager-applet` `wireless-tools` `dejavu-sans-fonts` `notification-daemon` `gnome-keyring` `polkit` `@hardware-support`.
|
||||
**NetVM (extra firmware)** | If your network devices need extra packages for the template to work as a network VM | Use the `lspci` command to identify the devices, then run `dnf search firmware` (replace `firmware` with the appropriate device identifier) to find the needed packages and then install them.
|
||||
**Network utilities** | If you need utilities for debugging and analyzing network connections | Install the following packages: `tcpdump` `telnet` `nmap` `nmap-ncat`
|
||||
**USB** | If you want USB input forwarding to use this template as the basis for a [USB](/doc/usb/) qube such as `sys-usb` | Install `qubes-input-proxy-sender`
|
||||
|
@ -26,7 +26,7 @@ To install a specific Fedora TemplateVM that is not currently installed in your
|
||||
|
||||
$ sudo qubes-dom0-update qubes-template-fedora-XX
|
||||
|
||||
(Replace `XX` with the Fedora version number of the template you wish to remove.)
|
||||
(Replace `XX` with the Fedora version number of the template you wish to install.)
|
||||
|
||||
To reinstall a Fedora TemplateVM that is already installed in your system, see [How to Reinstall a TemplateVM].
|
||||
|
||||
|
@ -235,4 +235,4 @@ In this case, you have several options:
|
||||
[resize-disk-image]: /doc/resize-disk-image/
|
||||
[Additional Information]: #additional-information
|
||||
[Compacting the Upgraded Template]: #compacting-the-upgraded-template
|
||||
[DispVM]: /doc/dispvm/
|
||||
[DispVM]: /doc/disposablevm/
|
||||
|
@ -238,4 +238,4 @@ In this case, you have several options:
|
||||
[resize-disk-image]: /doc/resize-disk-image/
|
||||
[Additional Information]: #additional-information
|
||||
[Compacting the Upgraded Template]: #compacting-the-upgraded-template
|
||||
[DispVM]: /doc/dispvm/
|
||||
[DispVM]: /doc/disposablevm/
|
||||
|
@ -382,5 +382,5 @@ In this case, you have several options:
|
||||
[resize-disk-image]: /doc/resize-disk-image/
|
||||
[Additional Information]: #additional-information
|
||||
[Compacting the Upgraded Template]: #compacting-the-upgraded-template
|
||||
[DispVM]: /doc/dispvm/
|
||||
[DispVM]: /doc/disposablevm/
|
||||
|
||||
|
@ -358,5 +358,5 @@ In this case, you have several options:
|
||||
[Compacting the Upgraded Template]: #compacting-the-upgraded-template
|
||||
[switching-3.2]: /doc/templates/#how-to-switch-templates-32
|
||||
[switching-4.0]: /doc/templates/#how-to-switch-templates-40
|
||||
[DispVM]: /doc/dispvm/
|
||||
[DispVM]: /doc/disposablevm/
|
||||
|
||||
|
@ -385,5 +385,5 @@ In this case, you have several options:
|
||||
[Compacting the Upgraded Template]: #compacting-the-upgraded-template
|
||||
[switching-3.2]: /doc/templates/#how-to-switch-templates-32
|
||||
[switching-4.0]: /doc/templates/#how-to-switch-templates-40
|
||||
[DispVM]: /doc/dispvm/
|
||||
[DispVM]: /doc/disposablevm/
|
||||
|
||||
|
@ -111,28 +111,32 @@ Firewall Virtual Machine.
|
||||
A type of [ProxyVM](#proxyvm) that is used to enforce network-level policies (a.k.a. "firewall rules").
|
||||
A FirewallVM called `sys-firewall` is created by default in most Qubes installations.
|
||||
|
||||
DisposableVM
|
||||
------------
|
||||
[Disposable Virtual Machine]. A temporary [AppVM](#appvm) based on a [DVM Template](#dvm-template) that can quickly be created, used, and destroyed.
|
||||
|
||||
DispVM
|
||||
------
|
||||
[Disposable Virtual Machine]. A temporary [AppVM](#appvm) based on a [DVM Template](#dvm-template) that can quickly be created, used, and destroyed.
|
||||
An older term for [DisposableVM](#disposablevm).
|
||||
|
||||
DVM
|
||||
---
|
||||
An abbreviation of [DispVM](#dispvm), typically used to refer to [DVM Templates](#dvm-template).
|
||||
An abbreviation of [DisposableVM](#disposablevm), typically used to refer to [DVM Templates](#dvm-template).
|
||||
|
||||
DVM Template
|
||||
------------
|
||||
A type of [TemplateBasedVM](#templatebasedvm) on which [DispVMs](#dispvm) are based.
|
||||
A type of [TemplateBasedVM](#templatebasedvm) on which [DisposableVMs](#disposablevm) are based.
|
||||
By default, a DVM Template named `fedora-XX-dvm` is created on most Qubes installations (where `XX` is the Fedora version of the default TemplateVM).
|
||||
DVM Templates are not [TemplateVMs](#templatevm), since (being TemplateBasedVMs) they do not have root filesystems of their own to provide to other VMs.
|
||||
Rather, DVM Templates are complementary to TemplateVMs insofar as DVM Templates provide their own user filesystems to the DispVMs based on them.
|
||||
Rather, DVM Templates are complementary to TemplateVMs insofar as DVM Templates provide their own user filesystems to the DisposableVMs based on them.
|
||||
There are two main kinds of DVM Templates:
|
||||
|
||||
* **Dedicated** DVM Templates are intended neither for installing nor running software.
|
||||
Rather, they are intended for *customizing* or *configuring* software that has already been installed on the TemplateVM on which the DVM Template is based (see [DispVM Customization]).
|
||||
This software is then intended to be run (in its customized state) in DispVMs that are based on the DVM Template.
|
||||
* **Non-dedicated** DVM Templates are typically [AppVMs](#appvm) on which DispVMs are based.
|
||||
Rather, they are intended for *customizing* or *configuring* software that has already been installed on the TemplateVM on which the DVM Template is based (see [DisposableVM Customization]).
|
||||
This software is then intended to be run (in its customized state) in DisposableVMs that are based on the DVM Template.
|
||||
* **Non-dedicated** DVM Templates are typically [AppVMs](#appvm) on which DisposableVMs are based.
|
||||
For example, an AppVM could be used to generate and store trusted data.
|
||||
Then, a DispVM could be created based on the AppVM (thereby making the AppVM a DVM Template) so that the data can be analyzed by an untrusted program without jeopardizing the integrity of the original data.
|
||||
Then, a DisposableVM could be created based on the AppVM (thereby making the AppVM a DVM Template) so that the data can be analyzed by an untrusted program without jeopardizing the integrity of the original data.
|
||||
|
||||
PV
|
||||
--
|
||||
@ -188,6 +192,6 @@ QWT
|
||||
----
|
||||
An abbreviation of Qubes [Windows Tools](#windows-tools).
|
||||
|
||||
[Disposable Virtual Machine]: /doc/dispvm/
|
||||
[DispVM Customization]: /doc/dispvm-customization/
|
||||
[Disposable Virtual Machine]: /doc/disposablevm/
|
||||
[DisposableVM Customization]: /doc/disposablevm-customization/
|
||||
|
||||
|
@ -88,7 +88,7 @@ netvm
|
||||
dispvm_netvm
|
||||
Accepted values: netvm name, ``default``, ``none``
|
||||
|
||||
Which NetVM should be used for Disposable VMs started by this one.
|
||||
Which NetVM should be used for DisposableVMs started by this one.
|
||||
``default`` is to use the same NetVM as the VM itself.
|
||||
|
||||
maxmem
|
||||
|
@ -44,7 +44,7 @@ OPTIONS
|
||||
|
||||
This argument, can contain VM name, or one of special values:
|
||||
|
||||
* ``$dispvm`` - new Disposable VM
|
||||
* ``$dispvm`` - new DisposableVM
|
||||
|
||||
This field is limited to 31 characters (alphanumeric, plus ``-_.$``).
|
||||
|
||||
|
@ -43,9 +43,9 @@ OPTIONS
|
||||
|
||||
* ``$default`` or empty string - let Qubes RPC policy decide, without giving any preference
|
||||
|
||||
* ``$dispvm`` - new Disposable VM
|
||||
* ``$dispvm`` - new DisposableVM
|
||||
|
||||
* ``$dispvm:dispvm-template`` - new Disposable VM based on *dispvm-template*
|
||||
* ``$dispvm:dispvm-template`` - new DisposableVM based on *dispvm-template*
|
||||
|
||||
This field is limited to 31 characters (alphanumeric, plus ``-_.$``).
|
||||
|
||||
|
@ -20,7 +20,7 @@ Known issues
|
||||
|
||||
- Some keyboard layout set by KDE System Settings can cause [keyboard not working at all](https://groups.google.com/group/qubes-devel/browse_thread/thread/77d076b65dda7226). If you hit this issue, you can switch to console (by console login option) and manually edit `/etc/X11/xorg.conf.d/00-system-setup-keyboard.conf` (and `/etc/sysconfig/keyboard`) and place correct keyboard layout settings (details in linked thread). You can check if specific keyboard layout settings are proper using `setxkbmap` tool.
|
||||
|
||||
- On systems with more than 8GB of RAM there is problem with Disposable VM. To fix it, limit maximum memory allocation for DispVM to 3GB
|
||||
- On systems with more than 8GB of RAM there is problem with DisposableVM. To fix it, limit maximum memory allocation for DispVM to 3GB
|
||||
|
||||
~~~
|
||||
qvm-prefs -s fedora-17-x64-dvm maxmem 3072
|
||||
|
@ -16,7 +16,7 @@ New features since 3.2
|
||||
* Renaming VM directly is prohibited, there is GUI to clone under new name and remove old VM
|
||||
* Use [PVH][qsb-37] and [HVM][hvm-switch] by default to [mitigate Meltdown & Spectre][qsb-37] and lower the [attack surface on Xen][qsb-24]
|
||||
* Create USB VM by default
|
||||
* [Multiple Disposable VMs templates support][dispvm-ticket]
|
||||
* [Multiple DisposableVMs templates support][dispvm-ticket]
|
||||
* New [backup format][backup-format] using scrypt key-derivation function
|
||||
* Non-encrypted backups no longer supported
|
||||
* [split VM packages][packages-split], for better support minimal, specialized templates
|
||||
|
@ -94,4 +94,6 @@ Qubes Security Bulletins are published through the [Qubes Security Pack](/securi
|
||||
- [Qubes Security Bulletin \#41](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-041-2018.txt) (Speculative register leakage from lazy FPU context switching (XSA-267))
|
||||
- [Qubes Security Bulletin \#42](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-042-2018.txt) (Linux netback driver OOB access in hash handling (XSA-270))
|
||||
- [Qubes Security Bulletin \#43](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-043-2018.txt) (L1 Terminal Fault speculative side channel (XSA-273))
|
||||
- [Qubes Security Bulletin \#44](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-044-2018.txt) (Multiple Xen vulnerabilities (XSA-275, XSA-280))
|
||||
- [Qubes Security Bulletin \#45](https://github.com/QubesOS/qubes-secpack/blob/master/QSBs/qsb-045-2018.txt) (Insecure default Salt configuration)
|
||||
|
||||
|
@ -71,7 +71,7 @@ details and plans how to get around this problem, as well as the section on
|
||||
|
||||
- It doesn't solve the problem of allowing the user to know what is to be
|
||||
signed before the operation gets approved. Perhaps the GPG backend domain
|
||||
could start a Disposable VM and have the to-be-signed document displayed
|
||||
could start a DisposableVM and have the to-be-signed document displayed
|
||||
there? To Be Determined.
|
||||
|
||||
- The Split GPG client will fail to sign or encrypt if the private key in the
|
||||
@ -157,8 +157,6 @@ only `gpg2`). If you encounter trouble while trying to set up Split-GPG, make
|
||||
sure you're using `gpg2` for your configuration and testing, since keyring data
|
||||
may differ between the two installations.
|
||||
|
||||
## Qubes 3.2 Specifics ##
|
||||
|
||||
### Using Thunderbird + Enigmail with Split GPG ###
|
||||
|
||||
However, when using Thunderbird with Enigmail extension it is
|
||||
@ -176,9 +174,7 @@ the name of the GPG backend VM. This file survives the AppVM reboot, of course.
|
||||
[user@work ~]$ sudo bash
|
||||
[root@work ~]$ echo "work-gpg" > /rw/config/gpg-split-domain
|
||||
|
||||
## Qubes 4.0 Specifics ##
|
||||
|
||||
### Using Thunderbird + Enigmail with Split GPG ###
|
||||
#### Qubes 4.0 Specifics ####
|
||||
|
||||
New qrexec policies in Qubes R4.0 by default require the user to enter the name
|
||||
of the domain containing GPG keys each time it is accessed. To improve usability
|
||||
|
@ -14,7 +14,7 @@ InterVM file copy design
|
||||
There are two cases when we need a mechanism to copy files between VMs:
|
||||
|
||||
- "regular" file copy - when user instructs file manager to copy a given files/directories to a different VM
|
||||
- DispVM copy - user selects "open in DispVM" on a file; this file must be copied to a Disposable VM, edited by user, and possibly a modified file copied back from DispVM to VM.
|
||||
- DispVM copy - user selects "open in DispVM" on a file; this file must be copied to a DisposableVM, edited by user, and possibly a modified file copied back from DispVM to VM.
|
||||
|
||||
Prior to Qubes Beta1, for both cases, a block device (backed by a file in dom0 with a vfat filesystem on it) was attached to VM, file(s) copied there, and then the device was detached and attached to target VM. In the DispVM case, if a edited file has been modified, another block device is passed to requester VM in order to update the source file.
|
||||
|
||||
|
@ -173,7 +173,7 @@ AppVMs, thus wise usage of it increases security.
|
||||
|
||||
In Qubes 4.0, target VM can be specified also as `$dispvm:DISP_VM`, which is
|
||||
very similar to `$dispvm` but forces using a particular VM (`DISP_VM`) as a base
|
||||
VM to be started as Disposable VM. For example:
|
||||
VM to be started as DisposableVM. For example:
|
||||
|
||||
anon-whonix $dispvm:anon-whonix-dvm allow
|
||||
|
||||
@ -361,8 +361,9 @@ qrexec v2, see [here](/doc/qrexec2/#qubes-rpc-internals).*)
|
||||
|
||||
Qrexec framework consists of a number of processes communicating with each
|
||||
other using common IPC protocol (described in detail below). Components
|
||||
residing in the same domain use pipes as the underlying transport medium,
|
||||
while components in separate domains use vchan link.
|
||||
residing in the same domain (`qrexec-client-vm` to `qrexec-agent`, `qrexec-client` to `qrexec-daemon`) use pipes as the underlying transport medium,
|
||||
while components in separate domains (`qrexec-daemon` to `qrexec-agent`, data channel between `qrexec-agent`s) use vchan link.
|
||||
Because of [vchan limitation](https://github.com/qubesos/qubes-issues/issues/951), it is not possible to establish qrexec connection back to the source domain.
|
||||
|
||||
|
||||
## Dom0 tools implementation ##
|
||||
|
25
troubleshooting/newer-hardware-troubleshooting.md
Normal file
25
troubleshooting/newer-hardware-troubleshooting.md
Normal file
@ -0,0 +1,25 @@
|
||||
---
|
||||
layout: doc
|
||||
title: Troubleshooting newer hardware
|
||||
permalink: /doc/newer-hardware-troubleshooting/
|
||||
---
|
||||
|
||||
Troubleshooting newer hardware
|
||||
==============================
|
||||
|
||||
By default, the kernel that is installed in dom0 comes from the `kernel` package, which is an older Linux LTS kernel.
|
||||
For most cases this works fine since the Linux kernel developers backport fixes to this kernel, but for some newer hardware, you may run into issues.
|
||||
For example, the audio might not work if the sound card is too new for the LTS kernel.
|
||||
|
||||
To fix this, you can try the `kernel-latest` package - though be aware that it's less tested!
|
||||
In dom0:
|
||||
|
||||
~~~
|
||||
sudo qubes-dom0-update kernel-latest
|
||||
~~~
|
||||
|
||||
Reboot when it's done installing.
|
||||
You can double-check that the boot used the newer kernel with `uname -r`, which prints the version of the currently-running kernel.
|
||||
Compare this with the output of `rpm -q kernel`.
|
||||
If the start of `uname -r` matches one of the versions printed by `rpm`, then you're still using the Linux LTS kernel, and you'll probably need to manually fix your boot settings.
|
||||
If `uname -r` reports a higher version number, then you've successfully booted with the kernel shipped by `kernel-latest`.
|
Loading…
Reference in New Issue
Block a user