Running new mulvad browser in disposable

I was able to install the mulvad browser in a debian template dvm and register the .desktop that came with it by in runing

./start-mulvad-browser.desktop --register-app

I can see the app menu item in the qubes menu. I can select this now and the browser starts up fine in the template dvm. When I try to select this in the dvm app menu a dvm starts, then shuts down without the browser opening.

I can open a dvm terminal and run the .desktop file to start a mulvad browser fine. I’d rather not have to open a terminal every time I want to run a disposable mulvad browser though.

I thought of trying to open mulvad browser from dom0 by running

qvm-run -q -a --service --dispvm=debiian-11-dvm -- qubes.StartApp+mulvad-browser

I then get an error notification as the dvm starts and stops again. It say’s,

failed to execute qubes.windowiconUpdater from dispxxxx dom0

Has anyone else got the mulvad browser to properly launch in a dvm? Any help would be greatly appreciated.

The DispVM menu doesn’t work because of the --detach option in the Mullvad desktop file.

Exec=sh -c '"$(dirname "$*")"/Browser/start-mullvad-browser --detach || ([ ! -x "$(dirname "$*")"/Browser/start-mullvad-browser ] && "$(dirname "$*")"/start-mullvad-browser --detach)' dummy %k
--detach  Detach from terminal and run Mullvad Browser in the background.

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.

There is 3 files (last one is handled by register/unregister -app).


Thanks! I only had to delete the --detach option for the third file in the template dvm and it works now.


I have the same problem and i don’t understand your solution.
I am not a very good linux/qubes user but love to use it.

My setup: Fedora36 disposable VM
I don’t now how to delete the --detach option in my dispTemplate
I don’t have this file whene i register the app : /home/user/.local/share/applications/start-mullvad-browser.desktop

Thanks if you have a solution !
I don’t now if i am clear.

Fedora 36 reaches EOL on 2023-05-16
You should install install Fedora 38.
You can do that with qvm-template in dom0:

[user@dom0 ~]$ qvm-template install fedora-38

Remove the both occurences of --detach from the Exec= line in the file /home/user/.local/share/applications/start-mullvad-browser.desktop.
(open the file by right cliking on it an choose gedit or any text editor).

This file is in your disposable template. Not in dom0.

You might also need to refresh the application list of your disposable template to see the Mullvad Browser in this list.
In the Applications tab of your disposable template settings, click on the refresh applications button.

Thanks i didn’t realize it was so simple !
It’s working now,
and thanks a LOT for the fedora 36 EOL info, i have change all my fedora appVM to Fedora 38.