How to install mullvad browser into disposable vm?

I tried to edit both fedora and debian latest available xfce templates. But Qubes OS just refuses to let me connect on the internet on those. Which probably means I do something wrong

The guides I found on this forum and on mullvad official site only have package file installation. It’s not ideal however because it will require manually updating it all the time

So, is there a way to install it into a disposable vm using Mullvad repository method?

Hi @tokaso80,

I think you can install Mullvad Browser in a disposable VM using the repository method so it updates automatically. Make sure your VM is set to use the updated template. This will let you use Mullvad Browser in a fresh, disposable VM every time.

Fixing the Networking Issue:

If you’re having trouble with internet access, double-check the network settings in your template. You might need to reconfigure your network in Qubes for the disposable VM to get internet.

Once set up, the browser will auto-update through Qubes Update.

For more help, check:

Hope this helps!

Read it and got into some problems. First I had to change my template to use debian 13 xfce as the default. Now the template at least is available to be used. Secondly it for some reason required me to use an iso, gladly it does not require it anymore

Now when I try to create a fully volatile vm it gives me only two options. Default dvm and whonix workstation

To get started, follow the steps outlined on this page:

You’ll also need to install the required dependencies:
sudo apt install zenity kdialog x11-utils gxmessage

Once that’s done, you can use it within your Disposable VM.

For more detailed guidance, check out these resources:

I do not understand what you say.

The best way to do this is to add the Mullvad repositories to the
template you have chosen. This will mean that the Mullvad browser is
available in every qube based on that template. You may choose to clone
the existing template to a new “MullvadTemplate”.

You can follow the instructions at
Mullvad Browser for Linux with some changes because
the template uses a proxy:

sudo curl --proxy http://127.0.0.1:8082  -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc

# Add the Mullvad repository server to apt
echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable stable main" | sudo tee /etc/apt/sources.list.d/mullvad.list

# Install the package
sudo apt update
sudo apt install mullvad-browser

Create a qube using that template.
In Qube Settings-> “Advanced” pane->DisposableTemplate
This creates a disposable template, and you are able to run the mullvad
browser in a disposable.
At command line :qvm-prefs QUBE template_for_dispvms True

I have a package which creates a Mullvad Proxy, and a disposable
template with mullvad browser available. You can get it from
https://qubes.3isec.org/tasks.html. But really these instructions should
be clear enough, I think.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

1 Like

Thank you. I used this guide and installed mullvad browser into the newly created mullvad browser template. However I am still unable to create a disposable qube based on this newly created template

I went to qube manager and went into template settings>advanced. I can’t select disposable template option. It is greyed out

When I run this command it shows me this error

qvm-prefs: error: no such property: 'template_for_dispvms'

the command I run was

qvm-prefs mullvadbrowsertemplate template_for_dispvms True

I even copy pasted the template_for_dispvms text form qvm-prefs man page. Still shows the same error

I renamed the template mullvadbrowsertemplate to ‘m’ and it didn’t help

Now the name of the template is just ‘m’

I runqvm-prefs m klass and it shows TemplateVM

Re-read the instructions:

You have to create a qube and configure that as the disposable
template.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

I did create the qube. But I can’t set it as disposable. I can’t clone it and set the clone as disposable

What did work however is changing default-dvm’s template to the qube which had mullvad browser installed

I am not sure if it is a good solution

More detail needed.
Exactly how did you create the qube.
How are you trying to set as disposable, and why can you not set it as
disposable?
How are you trying to clone, and why can you not do this?
Often trying to do this at command line in dom0 will show you any
errors:
qvm-clone OLD NEW
qvm-prefs QUBE template_for_dispvms True

It works with little down side, so is good solution.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

I no longer remember how exactly I set it up before. I made clean reinstall of the system and now I try to set this up again How to install mullvad browser into disposable vm? - #5 by unman I did use this post of yours as the new guide

When I run

I get

I also can’t create a disposable vm based on template into which I installed mullvad

Please read this page

To create a disposable you must create a disposable template. To create
a disposable template you crate an ordinary template based qube and set
the ‘template_for_dispvms’ property.

Template->DisposableTemplate->disposable

Steps:

  1. Create a template based qube, QUBE
  2. (Optional) Customise QUBE as you will.
  3. Set the ‘template_for_dispvms’ property for QUBE
  4. Now you can run disposables based on QUBE.

Any disposables you run will inherit applications from the template used
by QUBE, and any customisations you have set in QUBE.

This method allows you to have multiple different disposables based on
the same template. You might want to have an online disposable and an
offline disposable based on the same template, or disposables using
different mime configurations, or browser configurations, etc,etc.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

I read the guide again. The disposable template option is greyed out and I can’t set it to disposable vm

Can you write those steps in the command line form? I think it will make it easier to troubleshoot

Can you respond to previous requests and set out exactly what
you have done to create a disposable template?

What template have you used?
How have you created the qube?
How have you tried to set that qube as a disposable template?

I never presume to speak for the Qubes team. When I comment in the Forum I speak for myself.

I went into qube manager, made another template based on debian 13 xfce. Installed mullvad into the template using this guide of yours. But in this new template I can’t set enable disposable template

I asked for the command line guide because it is in general easier to troubleshoot. There is no ambiguity about what was done compared to gui troubleshooting