Differences between revisions 26 and 27
Revision 26 as of 2017-02-08 21:37:28
Size: 2789
Editor: HenriLeFoll
Comment:
Revision 27 as of 2017-02-08 21:59:11
Size: 2838
Editor: HolgerLevsen
Comment: explain to also clone the template (and fix a typo)
Deletions are marked like this. Additions are marked like this.
Line 83: Line 83:
* If you succeed, why not try to upgrade the template from debian-9 to sid ? * If you succeed, why not try to clone the debian-9 template into a sid template and then upgrade that from debian-9 to sid ?
Line 87: Line 87:
 * some packages are not yet coming from Debian but from {{{/etc/apt/sources.list.d/qubes-r3.list}}}, so porbably those should be uploaded to sid…  * some packages are not yet coming from Debian but from {{{/etc/apt/sources.list.d/qubes-r3.list}}}, so probably those should be uploaded to sid…

Here are some notes on how to use Qubes OS coming from Debian

First login

  • At your choice: select XFCE as GUI and login. (It's also possible to skip installing KDE and just install XFCE.)
  • update the system:

    sudo qubes-dom0-update
  • display kernel version : uname -r

Making the disposable VM default to Debian

qvm-create-default-dvm debian-8

using qubes os

updating the menu after adding applications to a VM

qvm-sync-appmenus

Removing unused templates

yum erase qubes-template-fedora[nnnn]

(get a list with a grep on yum list installed)

Please note that this will unregister the template from Qubes and remove the files.

VM networking

Each VM's internal IP address is generated from that VM's QID (a unique identifying number assigned to each VM upon creation). To see this, run (in dom0):

qvm-ls --network --ids

Cloning a template

 qvm-clone debian-8 debian-9

Taking screenshots

from Qubes 3.1 onwards one can use:

  • hit the prtscn button

 qvm-move-to-vm targevtmtogetthescreenshot /path/to/screenshot.png

Cheatsheet

usefull tricks

using awesome window manager for dom0

converting PDFs

  • either use "convert pdf" via the context menu in nautilus
  • or us qvm-convert-pdf from shell

Specific to Debian

* If you succeed, why not try to clone the debian-9 template into a sid template and then upgrade that from debian-9 to sid ?

Improving the Debian templates

  • some packages are not yet coming from Debian but from /etc/apt/sources.list.d/qubes-r3.list, so probably those should be uploaded to sid…

  • to be done: make a list, go through it one by one, file an ITP and upload to sid. h01ger is happy to help here.

Base SystemVMs on Debian templates

qvm-prefs -s sys-net template debian-8
qvm-prefs -s sys-firewall template debian-8

In theory one now only needs to restart these VMs and that's it.

  • However, that resulting in neither the wireless nor the firewall working, thus I'm not running this yet.

other informations


"To be continued…"