web-dev-qa-db-fra.com

Le client VPN Mullvad ne démarre pas le 18.04

Fonctionnait très bien sur Ubuntu 16.04 pendant longtemps. J'ai eu un nouvel ordinateur il y a deux semaines et j'ai attendu jusqu'à cette semaine pour installer Ubuntu. J'ai suivi les instructions du client Mullvad ici:

https://mullvad.net/en/guides/installing-mullvad-client-linux/

Ils supposent Ubuntu 16.04, leur guide n’a donc pas encore été mis à jour. Mais j'ai suivi les instructions à la lettre. Je ne suis pas un grand innovateur.

Une fois le client installé, il ne se lancera pas. Lorsque j'ouvre un terminal et ordonne à ce dernier de se lancer, rien ne se passe. Je reçois un tas d'erreurs. De l'aide? (capture d'écran des erreurs dans le lien ci-dessous)

Using GTK2 Gtk-Message: 11:33:06.240: Failed to load module "canberra-
gtk-module"
changing directory to /usr/lib/python2.7/dist-package/mullvad
Setting logging directory to /home/snarf/.cache/mullvad/log

(mullvad:9312): GLib-GObject-WARNING **: 11:33:06.248: cannot register
existing type 'GdkDisplayManager'

(mullvad:9312): GLib-CRITICAL **: 11:33:06.248: g_once_init_leave:
assertion 'result != 0' f[enter image description here][1]ailed

(mullvad:9312): GLib-GObject-CRITICAL **: 11:33:06.248:
g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)'
failed  

enter image description here

https://i.stack.imgur.com/nLXuw.png

6
Danny

J'ai essayé la solution de Ole et j'obtiens l'erreur suivante:

$ env MULLVAD_USE_GTK3=yes mullvad
Using GTK3
/usr/lib/python2.7/dist-packages/mullvad/mui.py:60: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3 as appindicator
changing directory to /usr/lib/python2.7/dist-packages/mullvad
Setting logging directory to /home/ms/.cache/mullvad/log

(mullvad:15452): Gtk-WARNING **: 22:28:12.209: gtk_disable_setlocale() must be called before gtk_init()
Setting logging directory to /home/ms/.cache/mullvad/log
CRITICAL: An uncaught exception occured: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core.py", line 16765, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/lib/python2.7/dist-packages/mullvad/mui.py", line 2088, in _start
_start_gui(app, root_window, log, settings, tunnel)
  File "/usr/lib/python2.7/dist-packages/mullvad/mui.py", line 2138, in _start_gui
tray_ui = AppIndicator(root_window, tunnel, settings)
  File "/usr/lib/python2.7/dist-packages/mullvad/mui.py", line 295, in __init__
appindicator.CATEGORY_COMMUNICATIONS)
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 137, in __getattr__
self.__name__, name))
AttributeError: 'gi.repository.AppIndicator3' object has no attribute 'CATEGORY_COMMUNICATIONS'

Quelqu'un a eu un problème/une suggestion similaire pour un correctif?

3
amicose

Cela est dû à un problème observé sur d'autres distributions également.

Premier test ceci:

env MULLVAD_USE_GTK3=yes mullvad

Si cela fonctionne, changer votre fichier .desktop pour mullvad devrait suffire à le réparer définitivement.

C'est ainsi:

nano /usr/share/applications/mullvad.desktop
Change "Exec=mullvad" to "Exec=env MULLVAD_USE_GTK3=yes mullvad"
2