DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

unable to import vpn

Open silvia552 opened this issue 7 months ago • 2 comments

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: Arch Linux
    • ID: arch, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.4.5
    • /usr/bin/dms
  • [ok] Quickshell: Quickshell 0.2.1 (revision fb08eced449e87e47321e95beeb890a63d2c67bd, distributed by AUR (package: quickshell-git))
    • /usr/bin/qs
  • [ok] DMS Shell: v1.4.4
    • /usr/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /usr/share/quickshell/dms
  • [ok] shell.qml: Present
    • /usr/share/quickshell/dms/shell.qml
  • [info] Install Type: System package
    • /usr/share/quickshell/dms

Compositor

  • [ok] Hyprland: 0.54.3
    • /usr/bin/hyprland
  • [ok] niri: 25.11
    • /usr/bin/niri
  • [ok] Sway: 1.11
    • /usr/bin/sway
  • [info] Active: niri
  • [ok] Background Blur: Supported
    • Compositor supports ext-background-effect-v1

Quickshell Features

  • [ok] Polkit: Available
    • Authentication prompts
  • [ok] IdleMonitor: Available
    • Idle detection
  • [ok] IdleInhibitor: Available
    • Prevent idle/sleep
  • [ok] ShortcutInhibitor: Available
    • Allow shortcut management (niri)
  • [ok] BackgroundBlur: Available
    • Background blur API support in Quickshell

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [warn] power-profiles-daemon: Not available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [warn] cups-pk-helper: Not available (install cups-pk-helper)
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (1 formats)
    • Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [warn] kimageformats: Not installed
    • AVIF, HEIF, JXL support
  • [ok] Terminal: kitty, alacritty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [info] khal: Not installed
    • Calendar events
  • [info] danksearch: Not installed
    • File search
  • [info] fprintd: Not installed
    • Fingerprint auth

Config Files

  • [ok] settings.json: Present
    • /home/cingram/.config/DankMaterialShell/settings.json
  • [info] clsettings.json: Not yet created
    • /home/cingram/.config/DankMaterialShell/clsettings.json
  • [info] plugin_settings.json: Not yet created
    • /home/cingram/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/cingram/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/cingram/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [info] greetd: Not installed
    • Optional greeter service

Environment

  • [info] QT_QPA_PLATFORMTHEME: gtk3
  • [info] QS_ICON_THEME: Not set

Summary: 0 error(s), 3 warning(s), 29 ok

Description

when i click "import vpn" and select my vpn file it fails

Expected Behavior

to work

Steps to Reproduce

go to protonvpn select openvpn select gnu/linux select free configs download a vpn file go to settings click network click import under vpn select the vpn file u just downloaded done

Error Messages/Logs

No response

Screenshots/Recordings

https://github.com/user-attachments/assets/5aff35c8-4d22-470e-9b0b-79139c283d40

silvia552 avatar Apr 29 '26 06:04 silvia552

I have a similar problem except that it does not show me my .ovpn file to import at all.

brokenglasszero avatar Jun 13 '26 01:06 brokenglasszero

@silvia552 if you click on the ⮟ icon in the popup msg, you could see the actual log, for me, its:

openvpn: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.openvpn".
wireguard: Error: failed to import '/home/sasan/Downloads/dc-vpn.ovpn': The name of the WireGuard config must be a valid interface name followed by ".conf".
vpnc: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.vpnc".
pptp: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.pptp".
l2tp: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.l2tp".
openconnect: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.openconnect".
strongswan: Error: failed to load VPN plugin: unknown VPN plugin "org.freedesktop.NetworkManager.strongswan".
Image

which has been resolved by installing network-manager-openvpn:

sudo apt install network-manager-openvpn

sasantk avatar Jun 24 '26 10:06 sasantk