Errors while building Mozilla VPN - kvantum is not installed / segmentation fault

Good morning, evening & afternoon,

I hope you are well.

I’ve recently moved from Express VPN to MozillaVPN. Works great on my phone.

But for the life of me, I cannot get it to work.

I’ve tried building it from AUR repo and compiling the source from Github. Both result in the same errors.

I’ve tried running it as sudo and my normal user.
It appears to install with no errors just like any other package I compile from AUR.

I’ve attempted to install the missing “kvantum” and every time it says its successful? My guess is Kvantum needs to be QT6 and I can only find 5? But that’s my only guess.

I can load up Kvantum Manager fine? It shows the GUI. (no idea what it is except a theme manager) but I can’t start kvantum from the terminal. I just get command not found.

Any ideas? :slight_smile:

thank you!

    ~/Dow/mozillavpn    master ?1  mozillavpn                                                ✔  3m 45s  
[26.04.2022 22:11:19.119] Info: (main - Command) MozillaVPN 2.8.0
[26.04.2022 22:11:19.119] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[26.04.2022 22:11:19.240] Error: (main - EventListener) Connection failed.
[26.04.2022 22:11:19.268] Info: (networking - NetworkRequest) Imported cert from: ISRG Root X1
[26.04.2022 22:11:19.280] Warning: QQmlApplicationEngine failed to load component
[26.04.2022 22:11:19.280] Warning: qrc:/ui/main.qml: module "kvantum" is not installed (main.qml)
zsh: segmentation fault (core dumped)  mozillavpn
    ~/Dow/mozillavpn    master ?1             

Edit 1:
Tried running it with an argument of linuxdaemon and got a different error.

    ~  sudo mozillavpn linuxdaemon                                                                                         1 ✘ 
[26.04.2022 23:20:09.524] Info: (main - Command) MozillaVPN 2.8.0
[26.04.2022 23:20:09.524] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[26.04.2022 23:20:09.527] Error: (linux - main) Connection failed - name:  message:
    ~   

Edit 2:
Using the mozillavpn docs, I did manage to figured out how to authenticate myself by using the command

    ~  mozillavpn login                                                                                                               SEGV ✘ 
[27.04.2022 07:57:53.007] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 07:57:53.007] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
User status: already authenticated

But now I get another error if I try activating:

mozillavpn activate                                                                                                               1 ✘ 
[27.04.2022 07:58:16.289] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 07:58:16.289] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[27.04.2022 07:58:16.425] Error: (linux|controller - LinuxController) DBus service says: error.
[27.04.2022 07:58:16.425] Error: (main - MozillaVPN) Alert: MozillaVPN::ControllerErrorAlertState: MozillaVPN::StateInitialize
The VPN tunnel activation failed

Edit 3:
Got some new errors. Tried stopping the service, and starting it in sudo and running mozillavpn in sudo which gives me “not activated”. So I reactivated in sudo, it wouldn’t even open the browser. So I manually did it. But now it gives me:

    ~  sudo mozillavpn                                                                                                                                                                   ✔ 
[27.04.2022 08:08:09.163] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 08:08:09.163] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[27.04.2022 08:08:09.170] Warning: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[27.04.2022 08:08:09.185] Error: (main - EventListener) Connection failed.
[27.04.2022 08:08:09.220] Info: (networking - NetworkRequest) Imported cert from: ISRG Root X1
[27.04.2022 08:08:09.221] Error: (main - MozillaVPN) No keys found
[27.04.2022 08:08:09.239] Warning: QQmlApplicationEngine failed to load component
[27.04.2022 08:08:09.239] Warning: qrc:/ui/main.qml: module "kvantum" is not installed (main.qml)
zsh: segmentation fault  sudo mozillavpn

And the status turns into:

Apr 27 08:00:57 user-allseries systemd[1]: Started MozillaVPN D-Bus service.
Apr 27 08:05:04 user-allseries mozillavpn[19050]: [27.04.2022 08:05:04.406] Error: (linux - IPUtilsLinux) Failed to set IPv6:  XXXXXXXX error: Permission denied
Apr 27 08:05:04 user-allseries mozillavpn[19050]: [27.04.2022 08:05:04.406] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 08:05:04 user-allseries mozillavpn[19050]: [27.04.2022 08:05:04.406] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 08:05:04 user-allseries mozillavpn[19050]: [27.04.2022 08:05:04.406] Error: (linux - DnsUtilsLinux) Error retrieving the DNS  domains from the DBus service

Did you try to install the kvantum-qt6-git AUR PKGBUILD?

1 Like

Thank you for that! Sadly it didn’t work either :frowning:
To install it, I had to remove kvantum, kvantum-manjaro from my system. Then install kvantum-qt5-git as a required dependency first.

but I get the same error :frowning:

Strange thing with your system - mozillavpn does not use kvantum nor does it depend on it - not required by that specific package.

I am guessing your kvantum issue is otherwise pulled in by pamac - as Pamac usually do a system update when installing new packages such as the rust compiler.

From you error output it looks more like theme error.

I suggest you change your themes to the default Breeze (check apply defaults) before hitting Apply.

kvantum supports Qt 5 & 6 since 1.0.

That package should not even exist.

What command isn’t found? The binary is kvantummanager.

I don’t have the breeze theme installed? When I open Gnome Tweaks → Appearance → My default in Applications is “Adwaita” and my shell is Default.

Setting them both to default I get the same error. :slight_smile:

That package should not even exist.

interesting. I’ll remove that I think. (same error after removed)

Sorry, I tried the command “kvantum”.

I tried kvantum as that’s what the module error was :thinking:

I’m wondering if like @linux-aarhus said, its a random warning that might not be related.

I’ve tried rerunning

pamac build mozillavpn

Which apperes to succeed, but I get the same error when trying to run

mozillavpn

I overlooked the gnome tag.

I was thrown off track as the errors was qml related thus I thought you were using KDE.

The mozillavpn package is built using rust - so I am a little confused as to what is happening since you get qml errors.

qml is a gui layout description which may or may not contain references to certain qt libraries.

And you are correct about kvantum being a theming engine.

1 Like

Ahh thats why “breeze” sounded familiar :laughing:

Isn’t QML part of the QT library? Actually
I have a new / changed error now I didn’t even notice:

mozillavpn                                                                                                                                               ✔ 
[27.04.2022 17:30:04.650] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 17:30:04.650] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[27.04.2022 17:30:04.701] Warning: QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: qt6ct-style, Windows, Fusion
[27.04.2022 17:30:04.709] Error: (main - EventListener) Connection failed.
[27.04.2022 17:30:04.745] Info: (networking - NetworkRequest) Imported cert from: ISRG Root X1
[27.04.2022 17:30:04.765] Warning: QQmlApplicationEngine failed to load component
[27.04.2022 17:30:04.765] Warning: qrc:/ui/main.qml: module "kvantum" is not installed (main.qml)
zsh: segmentation fault (core dumped)  mozillavpn

QML could be an akronym for Qt Model Language - but that is only speculation at the moment.

1 Like

Have you read the first comment on the AUR page?

AUR (en) - mozillavpn

You need to start (and enable) the service.

I could not quickly find instructions on how to set it up - but it is a resold mullvad vpn
so the instructions on how to set this up might be useful.

Mullvad - ArchWiki

use the wireguard section …

1 Like

Thank you!

I’ve seen the comments and tried running. But the service says its already running. Heres the status (it looks the same before and after running those start / restart commands):

    ~  systemctl status mozillavpn                                                                                                                4 ✘ 
● mozillavpn.service - MozillaVPN D-Bus service
     Loaded: loaded (/usr/lib/systemd/system/mozillavpn.service; disabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-04-27 17:10:31 BST; 38min ago
   Main PID: 6399 (mozillavpn)
      Tasks: 8 (limit: 19105)
     Memory: 4.6M
        CPU: 1.078s
     CGroup: /system.slice/mozillavpn.service
             └─6399 /usr/bin/mozillavpn linuxdaemon

Apr 27 17:10:31 user-allseries systemd[1]: Starting MozillaVPN D-Bus service...
Apr 27 17:10:31 user-allseries mozillavpn[6399]: [27.04.2022 17:10:31.833] Info: (main - Command) MozillaVPN 2.8.0
Apr 27 17:10:31 user-allseries mozillavpn[6399]: [27.04.2022 17:10:31.834] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro u>
Apr 27 17:10:31 user-allseries systemd[1]: Started MozillaVPN D-Bus service.

I’ll try running through the Mullvad now :slight_smile:

addendum:

How to install Mozilla VPN on a Linux computer | Mozilla VPN Help

this mozilla help page states:

If you have an active Mozilla VPN subscription, you will now be able to log in using your Firefox Account via any web browser.

so, once the service is running - which it is - you use your browser and mozilla firefox account to configure it
that is how I understand it

I use Mullvad - this is indeed configured differently - not via the browser, like (apparently) the mozilla vpn …

1 Like

Thank you! I’ve activated it and loaded it up in the browser, logged in and it said I can return to the app. Now if I try to login it gives me this:

 mozillavpn login                                                                                                                  ✔ 
[27.04.2022 18:02:59.772] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 18:02:59.772] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[27.04.2022 18:02:59.844] Warning: QApplication: invalid style override 'kvantum' passed, ignoring it.
	Available styles: qt6ct-style, Windows, Fusion
User status: already authenticated

But interestingly, I’ve just realised I’m still running my old VPN (Express).
I’ve disabled that and I couldn’t connect to the internet at all.
I stopped the MozillaVPN and it let me reconnect.

I tried running activate before and after the service but got the same error:

    /etc/systemd  mozillavpn activate                                                                                                        ✔  3s  
[27.04.2022 18:08:19.751] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 18:08:19.751] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
[27.04.2022 18:10:19.070] Error: (controller - Controller) Empty exit server list in state Controller::StateConfirming
[27.04.2022 18:10:19.070] Error: (controller - Controller) server unavailable
The VPN tunnel activation failed

Edit

So I’m not sure what I did, but I can now browse the internet with the Mozilla service active but it doesn’t affect my IP.

If I run the command

sudo mozillavpn activate

I some what get success?

    /etc/systemd  sudo mozillavpn activate                                                                                                  ✔  24s  
[27.04.2022 18:29:23.324] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 18:29:23.324] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
The VPN tunnel is now active

however, then I can’t access the internet :slightly_frowning_face:

If I deactivate it then I can access the internet again:

    /etc/systemd  sudo mozillavpn deactivate                                                                                            INT ✘  30s  
[27.04.2022 18:31:34.641] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 18:31:34.641] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
The VPN tunnel is now inactive

Super odd but…progress? I think?

a bit of a mess here, eh? :wink:
make sure it is disabled and inactive and stays that way
and disconnect/reconnect your network (probably via NetworkManager)
I’d restart it:
systemctl restart NetworkManager.service

I have no idea how this vpn is to be controlled via the browser.
Cannot help further.

I do it via the NetworkManager applet - but this is Mullvad vpn.

1 Like

A little bit yes :joy:

Okay I’ve rebooted my comp, restarted the NetworkManager just to be sure.

The service can run without any issues now, so I suspect previously, it was Express and MozillaVPN service clashing.

however, if I run

mozillavpn activate

I connect, but then I lose the internet connection.

Once I disconnect, it returns the following errors:

    ~  mozillavpn deactivate                                                                          ✔  10s  
[27.04.2022 19:42:56.671] Info: (main - Command) MozillaVPN 2.8.0
[27.04.2022 19:42:56.671] Info: (main - Command) User-Agent: MozillaVPN/2.8.0 (sys:manjaro unknown)
The VPN tunnel is now inactive
    ~  [2022-04-27T18:42:58Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"                                ✔ 
[2022-04-27T18:42:58Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-04-27T18:42:58Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-04-27T18:42:58Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"

    ~     

The service gives me the following errors:

● mozillavpn.service - MozillaVPN D-Bus service
     Loaded: loaded (/usr/lib/systemd/system/mozillavpn.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-04-27 19:24:43 BST; 17min ago
   Main PID: 734 (mozillavpn)
      Tasks: 10 (limit: 19105)
     Memory: 34.8M
        CPU: 380ms
     CGroup: /system.slice/mozillavpn.service
             └─734 /usr/bin/mozillavpn linuxdaemon

Apr 27 19:32:53 user-allseries mozillavpn[734]: [27.04.2022 19:32:53.202] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:32:53 user-allseries mozillavpn[734]: [27.04.2022 19:32:53.202] Error: (linux - DnsUtilsLinux) Error retrieving the DNS  domains from the DBus service
Apr 27 19:40:09 user-allseries mozillavpn[734]: [27.04.2022 19:40:09.218] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:40:52 user-allseries mozillavpn[734]: [27.04.2022 19:40:52.292] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:40:52 user-allseries mozillavpn[734]: [27.04.2022 19:40:52.292] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:40:52 user-allseries mozillavpn[734]: [27.04.2022 19:40:52.292] Error: (linux - DnsUtilsLinux) Error retrieving the DNS  domains from the DBus service
Apr 27 19:41:02 user-allseries mozillavpn[734]: [27.04.2022 19:41:02.064] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:42:21 user-allseries mozillavpn[734]: [27.04.2022 19:42:21.253] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:42:21 user-allseries mozillavpn[734]: [27.04.2022 19:42:21.253] Error: (linux - DnsUtilsLinux) Error received from the DBus service
Apr 27 19:42:21 user-allseries mozillavpn[734]: [27.04.2022 19:42:21.253] Error: (linux - DnsUtilsLinux) Error retrieving the DNS  domains from the DBus servi

It feels like we’re so close, just this last stop

IDK - you need your network connection - to your router or however you connect
and then the vpn on top of it
If there is no connection to your router, there can be no vpn.

But as I said:
I have no idea how the vpn gets activated or what happens when you tell it to activate (or what is supposed to happen).

1 Like

So I’ve had a change of heart and it came from a bunch of the lovely commenters here.
if Mozilla is just based on Mullvad, I’ve just tested Mullvad and that installed instantly and works perfectly.
So… I think I’m just going to leave Mozilla VPN?

Apologies if it feels like I’ve wasted everyone’s time. I don’t want you to think like that!

Thank you so much to everyone who helped!

I hope anyone who does go with MozillaVPN has a better experience than I do :slight_smile:

It is € 5,- per month - just like Mozilla’s when you buy a year
So: even more flexible, same price or cheaper - and it works.
win - win

1 Like

It does: AUR (en) - kvantum-qt6-git

Doesn’t seem like that was it anyways