qubes-doc/UserFaq.md

145 lines
10 KiB
Markdown
Raw Normal View History

2010-04-09 08:57:06 +00:00
---
layout: wiki
title: UserFaq
permalink: /wiki/UserFaq/
---
2013-09-27 02:25:46 +00:00
Qubes Users' FAQ
2010-04-09 08:57:06 +00:00
================
1. [General Questions](#GeneralQuestions)
2013-09-27 02:22:11 +00:00
1. [Is Qubes just another Linux distribution?](#IsQubesjustanotherLinuxdistribution)
2. [How is Qubes different from other security solutions?](#HowisQubesdifferentfromothersecuritysolutions)
3. [What is the main concept behind Qubes?](#WhatisthemainconceptbehindQubes)
4. [What about other approaches to security?](#Whataboutotherapproachestosecurity)
2013-09-27 02:22:11 +00:00
5. [What about safe languages and formally verified microkernels?](#Whataboutsafelanguagesandformallyverifiedmicrokernels)
6. [Why does Qubes use virtualization?](#WhydoesQubesusevirtualization)
7. [Does Qubes run every app in a separate VM?](#DoesQubesruneveryappinaseparateVM)
2013-09-27 02:22:11 +00:00
8. [Why does Qubes use Xen instead of KVM or some other hypervisor?](#WhydoesQubesuseXeninsteadofKVMorsomeotherhypervisor)
9. [What's so special about Qubes' GUI virtualization?](#WhatssospecialaboutQubesGUIvirtualization)
2013-09-27 02:23:37 +00:00
10. [Can I watch YouTube videos in AppVMs?](#CanIwatchYouTubevideosinAppVMs)
2013-09-27 02:22:11 +00:00
11. [Can I run applications, like games, which require 3D support?](#CanIrunapplicationslikegameswhichrequire3Dsupport)
12. [Is Qubes a multi-user system?](#IsQubesamulti-usersystem)
2010-04-09 09:00:16 +00:00
2013-09-27 02:22:11 +00:00
2. [Installation & Hardware Compatibility](#InstallationHardwareCompatibility)
1. [How much disk space does each AppVM require?](#HowmuchdiskspacedoeseachAppVMrequire)
2. [How much memory is recommended for Qubes?](#HowmuchmemoryisrecommendedforQubes)
3. [Can I install Qubes on a system without VT-x?](#CanIinstallQubesonasystemwithoutVT-x)
4. [Can I install Qubes on a system without VT-d?](#CanIinstallQubesonasystemwithoutVT-d)
5. [Can I use AMD-v instead of VT-x?](#CanIuseAMD-vinsteadofVT-x)
2013-09-27 02:22:11 +00:00
6. [Can I install Qubes in a virtual machine (e.g., on VMWare)?](#CanIinstallQubesinavirtualmachinee.g.onVMWare)
2010-04-09 09:00:16 +00:00
2013-10-04 02:09:20 +00:00
3. [Common Problems](#CommonProblems)
1. [My AppVMs lost Internet access after a TemplateVM update. What should I do?](#MyAppVMslostInternetaccessafteraTemplateVMupdate.WhatshouldIdo)
2. [My keyboard layout settings are not behaving correctly. What should I do?](#Mykeyboardlayoutsettingsarenotbehavingcorrectly.WhatshouldIdo)
3. [My dom0 and/or TemplateVM update stalls when attempting to update via …](#Mydom0andorTemplateVMupdatestallswhenattemptingtoupdateviatheGUItool.WhatshouldIdo)
4. [How do I run a Windows HVM in non-seamless mode (i.e., as a single window)?](#HowdoIrunaWindowsHVMinnon-seamlessmodei.e.asasinglewindow)
2013-10-04 02:09:20 +00:00
General Questions
-----------------
2010-04-09 09:00:16 +00:00
2013-09-27 02:22:11 +00:00
### Is Qubes just another Linux distribution?
2010-04-09 09:00:16 +00:00
2013-09-27 02:22:11 +00:00
If you really want to call it a distribution, then it's more of a "Xen distribution" than a Linux one. But Qubes is much more than just Xen packaging. It has its own VM management infrastructure, with support for template VMs, centralized VM updating, etc. It also has a very unique GUI virtualization infrastructure.
2010-04-09 08:57:06 +00:00
### How is Qubes different from other security solutions?
2010-04-09 08:57:06 +00:00
2013-09-27 02:22:11 +00:00
Please see [this article](http://theinvisiblethings.blogspot.com/2012/09/how-is-qubes-os-different-from.html) for a thorough discussion.
### What is the main concept behind Qubes?
To build security on the “Security by Isolation” principle.
2010-05-12 12:29:19 +00:00
### What about other approaches to security?
2010-05-12 12:29:19 +00:00
2013-09-27 02:22:11 +00:00
The other two popular [approaches](http://theinvisiblethings.blogspot.com/2008/09/three-approaches-to-computer-security.html) are “Security by Correctness” and “Security by Obscurity.” We don't believe either of these approaches are capable of providing reasonable security today, nor do we believe that they will be capable of doing so in the foreseeable future.
2010-05-12 12:29:19 +00:00
2013-09-27 02:22:11 +00:00
### What about safe languages and formally verified microkernels?
2013-09-27 02:22:11 +00:00
In short: these are non-realistic solutions today. We discuss this in further depth in our [Architecture Specification document](http://files.qubes-os.org/files/doc/arch-spec-0.3.pdf).
2013-09-27 02:22:11 +00:00
### Why does Qubes use virtualization?
2013-09-27 02:22:11 +00:00
We believe that this is currently the only practically viable approach to implementing strong isolation while simultaneously providing compatibility with existing applications and drivers.
### Does Qubes run every app in a separate VM?
2013-09-27 02:22:11 +00:00
No! This would not make much sense. Qubes uses lightweight VMs to create security domains (e.g., "work," "personal," and "banking,"). A typical user would likely need around five domains. Very paranoid users, or those who are high-profile targets, might use a dozen or more domains.
2013-09-27 02:22:11 +00:00
### Why does Qubes use Xen instead of KVM or some other hypervisor?
2013-09-27 02:22:11 +00:00
In short: we believe the Xen architecture allows for the creation of more secure systems (i.e. with a much smaller TCB, which translates to a smaller attack surface). We discuss this in much greater depth in our [Architecture Specification document](http://files.qubes-os.org/files/doc/arch-spec-0.3.pdf).
2013-09-27 02:22:11 +00:00
### What's so special about Qubes' GUI virtualization?
2013-09-27 02:22:11 +00:00
We have designed the GUI virtualization subsystem with two primary goals: security and performance. Our GUI infrastructure introduces only about 2,500 lines of C code (LOC) into the privileged domain (Dom0), which is very little, and thus leaves little space for bugs and potential attacks. At the same time, due to the smart use of Xen shared memory, our GUI implementation is very efficient, so most virtualized applications really feel as if they were executed natively.
2013-09-27 02:23:37 +00:00
### Can I watch YouTube videos in AppVMs?
Absolutely.
2013-09-27 02:22:11 +00:00
### Can I run applications, like games, which require 3D support?
2013-09-27 02:22:11 +00:00
Those wont fly. We do not provide OpenGL virtualization for AppVMs. This is mostly a security decision, as implementing such a feature would most likely introduce a great deal of complexity into the GUI virtualization infrastructure. However, Qubes does allow for the use of accelerated graphics (OpenGL) in Dom0s Window Manager, so all the fancy desktop effects should still work.
2013-09-27 02:24:29 +00:00
For further discussion about the potential for GPU passthorugh on Xen/Qubes, please see the following threads:
- [GPU passing to HVM](https://groups.google.com/group/qubes-devel/browse_frm/thread/31f1f2da39978573?scoring=d&q=GPU&)
- [Clarifications on GPU security](https://groups.google.com/group/qubes-devel/browse_frm/thread/31e2d8a47c8b4474?scoring=d&q=GPU&)
### Is Qubes a multi-user system?
2013-09-27 02:22:11 +00:00
No. Qubes does not pretend to be a multi-user system. Qubes assumes that the user who controls Dom0 controls the whole system. It would be very difficult to **securely** implement multi-user support. See [here](https://groups.google.com/group/qubes-devel/msg/899f6f3efc4d9a06) for details.]
2013-09-27 02:22:11 +00:00
Installation & Hardware Compatibility
-------------------------------------
2013-09-27 02:22:11 +00:00
(See also: [System Requirements](/wiki/SystemRequirements) and [Hardware Compatibility List](/wiki/HCL).)
2013-09-27 02:22:11 +00:00
### How much disk space does each AppVM require?
2013-09-27 02:22:11 +00:00
Each AppVM is created from a TemplateVM and shares the root filesystem with this TemplateVM (in a read-only manner). This means that each AppVM needs only as much disk space as is necessary to store its own private data. This also means that it is possible to update the software for several AppVMs simultaneously by running a single update process in the TemplateVM upon which those AppVMs are based. (These AppVMs will then have to be restarted in order for the update to take effect in them.)
### How much memory is recommended for Qubes?
2013-09-27 02:22:11 +00:00
At least 4 GB. It is possible to install Qubes on a system with 2 GB of RAM, but the system would probably not be able to run more than three AppVMs at a time.
### Can I install Qubes on a system without VT-x?
2013-09-27 02:22:11 +00:00
Yes. Xen doesn't use VT-x (or AMD-v) for PV guest virtualization. (It uses ring0/3 separation instead.) However, without VT-x, you won't be able to use fully virtualized VMs (e.g., Windows-based AppVMs), which were introduced in Qubes 2. In addition, if your system lacks VT-x, then it also lacks VT-d. (See next question.)
### Can I install Qubes on a system without VT-d?
2013-09-27 02:22:11 +00:00
Yes. You can even run a NetVM, but you will not benefit from DMA protection for driver domains. On a system without VT-d, everything should work in the same way, except there will be no real security benefit to having a separate NetVM, as an attacker could always use a simple DMA attack to go from the NetVM to Dom0. **Nonetheless, all of Qubes' other security mechanisms, such as AppVM separation, work without VT-d. Therefore, a system running Qubes will still be significantly more secure than one running Windows, Mac, or Linux, even if it lacks VT-d.**
### Can I use AMD-v instead of VT-x?
2012-11-17 00:28:51 +00:00
See [this message](http://groups.google.com/group/qubes-devel/msg/6412170cfbcb4cc5).
2013-09-27 02:22:11 +00:00
### Can I install Qubes in a virtual machine (e.g., on VMWare)?
2013-09-27 02:22:11 +00:00
Some users have been able to do this, but it is neither recommended nor supported. Qubes should be installed bare-metal. (After all, it uses its own bare-metal hypervisor!)
2013-10-04 02:09:20 +00:00
Common Problems
---------------
### My AppVMs lost Internet access after a TemplateVM update. What should I do?
Run `systemctl enable NetworkManager-dispatcher.service` in the TemplateVM upon which your NetVM is based. You may have to reboot afterward for the change to take effect. (Note: This is an upstream problem. See [here](https://bugzilla.redhat.com/show_bug.cgi?id=974811). For details, see the qubes-users mailing list threads [here](https://groups.google.com/d/topic/qubes-users/xPLGsAJiDW4/discussion) and [here](https://groups.google.com/d/topic/qubes-users/uN9G8hjKrGI/discussion).)
### My keyboard layout settings are not behaving correctly. What should I do?
Please read [this disccusion](https://groups.google.com/d/topic/qubes-devel/d8ZQ_62asKI/discussion).
### My dom0 and/or TemplateVM update stalls when attempting to update via the GUI tool. What should I do?
This can usually be fixed by updating via the command line.
In dom0, open a terminal and run `sudo qubes-dom0-update`.
In your TemplateVMs, open a terminal and run `sudo yum upgrade`.
### How do I run a Windows HVM in non-seamless mode (i.e., as a single window)?
Enable "debug mode" in the AppVM's settings, either by checking the box labelled "Run in debug mode" in the Qubes VM Manager AppVM settings menu or by running the [qvm-prefs command](/wiki/Dom0Tools/QvmPrefs).)