Gnome 43.1 setting up VPN bug... "Import from file"

I have found a bug with Gnome 43.1 more specifically gnome-network GUI where setting up an OpenVPN client possibly others as well using "Import from file" option, in my case setting up SurfShark VPN, the fields are unresponsive after selecting the VPN config file from the provider. I can't select/activate any of the fields such as gateway, Type, Username, Password or CA certificate. Also none of the tabs are selectable/respnsive such as IPv4 or IPv6.

My current work around was reinstall Garuda Linux and setup my VPN in Gnome 42.5 prior to upgrading the system using "garuda-update" to Gnome 43.1. Then all the setting are retained though you can't add or change anything after updating.

╰─λ garuda-inxi
System:
  Kernel: 6.0.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=48ebc485-b404-4d1d-a8ab-5f0c7d2b02ac rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3
  Desktop: GNOME v: 43.1 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 43.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: GIGABYTE product: AERO 15 WB v: N/A
    serial: <superuser required> Chassis: type: 10 v: y.y
    serial: <superuser required>
  Mobo: GIGABYTE model: AERO 15 WB serial: <superuser required>
    UEFI: American Megatrends v: FD07 date: 08/03/2020
Battery:
  ID-1: BAT1 charge: 90.7 Wh (96.3%) condition: 94.2/94.2 Wh (100.0%)
    volts: 16.6 min: 15.2 model: GIGABYTE Aero 15 type: Li-ion serial: N/A
    status: not charging
CPU:
  Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 2 microcode: 0xF4
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 799 high: 801 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 801 4: 800
    5: 799 6: 800 7: 800 8: 799 9: 800 10: 800 11: 800 12: 800 bogomips: 62399
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Gigabyte driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:9bc4 class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2070 Mobile / Max-Q Refresh]
    vendor: Gigabyte driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm
    non-free: 520.xx+ status: current (as of 2022-10) arch: Turing code: TUxxx
    process: TSMC 12nm built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: none empty: DP-3,HDMI-A-4 bus-ID: 01:00.0
    chip-ID: 10de:1f14 class-ID: 0300
  Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-9:5 chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26")
    s-diag: 583mm (22.95")
  Monitor-1: eDP-1 mapped: eDP-1-1 model: Sharp LQ156M1JW03 built: 2019
    res: 1920x1080 hz: 240 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce RTX 2070
    with Max-Q Design/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Gigabyte driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Sound API: ALSA v: k6.0.8-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
  Device-1: Realtek vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:2600
    class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
    driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-10:6 chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 34.95 GiB (1.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Mushkin model: MKNSSDPE2TB-D8
    size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 42AAT7GD temp: 30.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:5 vendor: Western Digital
    model: WDBRPG5000ANC-WRSN size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 111130WD temp: 35.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 34.95 GiB (7.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:7
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 612 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:6
  ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 34.95 GiB (7.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:7
  ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 34.95 GiB (7.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:7
  ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 34.95 GiB (7.5%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:7
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.22 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 55.0 C pch: 49.0 C mobo: N/A gpu: nvidia
    temp: 55 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 340 Uptime: 37m wakeups: 1 Memory: 31.22 GiB
  used: 2.92 GiB (9.4%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: pacman pkgs: 1390
  libs: 345 tools: pamac,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.23
Garuda (2.6.9-1):
  System install date:     2022-11-13
  Last full system update: 2022-11-14 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:

Actually this is also a bug in KDE. Since the last major update, all my Openvpn connections would not connect. Importing again, also resulted in not connecting. I had to switch to use an L2TP connection for my VPN. I keep scouring the bug report lists, and there are some old ones outstanding, but this was recent.

I would be curious to know if this happens to more people utilizing Openvpn connections/import files.

Edit to add: Looks like this bug report is relevant;
[RFE][OpenVPN] Use nmcli importer

I just saw an update come in for networkmanager-openvpn hoping that was a fix, but for me, it still did not work with a fresh openvpn import file. :weary:

Everything is working fine here...

$ paru -Q | grep -e gnome-shell -e vpn   
gnome-shell 1:43.1-2
networkmanager-fortisslvpn 1.4.0-2
networkmanager-openvpn 1.10.0-1
networkmanager-vpnc 1.2.8-2
openfortivpn 1.19.0-2
openvpn 2.5.8-2
vpnc 1:0.5.3.r506.r204-2

interesting. I am on KDE, but I think I have most of those applications. I am not running a testing repo build and yet my networkmanger-openvpn is 1.10.2-1.

Have you updated your system?

I did earlier today, but just did again and everything looks OK if I try to import an OVPN file.

$ paru -Q | grep -e gnome-shell -e vpn
gnome-shell 1:43.1-2
networkmanager-fortisslvpn 1.4.0-2
networkmanager-openvpn 1.10.2-1
networkmanager-vpnc 1.2.8-2
openfortivpn 1.19.0-2
openvpn 2.5.8-2
vpnc 1:0.5.3.r506.r204-2

Just to be clear since you said "try to import an OVPN file." I can import just fine, but when I go to actually activate the connection, it gives me an error in network manager that I can't connect. I will just keep sorting through the bug lists.

Oh, sorry. OP said he cannot edit fields like Gateway, Username, Password etc, and I meant these work fine here, either with current profile or when importing one.

I am also having this issue:

gnome-shell 1:43.1+r6+g92e9689a4-1
networkmanager-fortisslvpn 1.4.0-2
networkmanager-openvpn 1.10.2-1
networkmanager-vpnc 1.2.8-2
openfortivpn 1.19.0-2
openvpn 2.5.8-2
vpnc 1:0.5.3.r506.r204-2

System:
  Kernel: 6.0.10-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=7c938741-e040-4cee-9851-c779f51f7036 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: GNOME v: 43.1 tk: GTK v: 3.24.35 wm: gnome-shell dm: GDM v: 43.0
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: MSI model: Z170A MPOWER GAMING TITANIUM(MS-7A16) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.60
    date: 06/26/2018
CPU:
  Info: model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 4383 high: 4401 min/max: 800/4400 scaling:
    driver: intel_pstate governor: performance cores: 1: 4400 2: 4398 3: 4272
    4: 4400 5: 4400 6: 4400 7: 4401 8: 4400 bogomips: 63999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: Gigabyte driver: nvidia
    v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
    status: current (as of 2022-10) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1b80 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5 compositors:
    1: gnome-shell 2: Tabby driver: N/A display-ID: :1 screens: 1
  Screen-1: 0 s-res: 7280x1440 s-dpi: 96 s-size: 1926x381mm (75.83x15.00")
    s-diag: 1963mm (77.3")
  Monitor-1: DP-0 pos: primary,center res: 3440x1440 hz: 60 dpi: 109
    size: 798x335mm (31.42x13.19") diag: 865mm (34.07") modes: N/A
  Monitor-2: DVI-D-0 pos: left res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Monitor-3: HDMI-0 pos: right res: 1920x1080 hz: 60 dpi: 102
    size: 477x268mm (18.78x10.55") diag: 547mm (21.54") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 520.56.06 renderer: NVIDIA GeForce GTX
    1080/PCIe/SSE2 direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel bus-ID: 1-11:6 v: kernel
    chip-ID: 047f:02f7 bus-ID: 00:1f.3 class-ID: 0300 chip-ID: 8086:a170
    class-ID: 0403 serial: <filter>
  Device-2: NVIDIA GP104 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-3: Plantronics Plantronics BT600 type: USB
    driver: plantronics,snd-usb-audio,usbhid
  Device-4: ASUSTek Xonar SoundCard type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-1:2 chip-ID: 0b05:189d
    class-ID: 0300
  Sound API: ALSA v: k6.0.10-zen2-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 5.69 TiB used: 1.6 TiB (28.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD40EFRX-68N32N0 size: 3.64 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WDS500G1B0B-00AS40 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 00WD
    scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 3B6Q scheme: GPT
  ID-5: /dev/sde maj-min: 8:64 vendor: Western Digital
    model: WDS500G2B0A-00SM50 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 90WD
    scheme: GPT
  ID-6: /dev/sdf maj-min: 8:80 vendor: Western Digital
    model: WDS500G2B0A-00SM50 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 90WD
    scheme: GPT
Partition:
  ID-1: / raw-size: 121.38 GiB size: 121.38 GiB (100.00%)
    used: 40.99 GiB (33.8%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 29.9 MiB (31.1%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 121.38 GiB size: 121.38 GiB (100.00%)
    used: 40.99 GiB (33.8%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
  ID-4: /var/log raw-size: 121.38 GiB size: 121.38 GiB (100.00%)
    used: 40.99 GiB (33.8%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
  ID-5: /var/tmp raw-size: 121.38 GiB size: 121.38 GiB (100.00%)
    used: 40.99 GiB (33.8%) fs: btrfs dev: /dev/sdb4 maj-min: 8:20
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.31 GiB used: 1.5 MiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 40.0 C pch: 35.0 C mobo: N/A gpu: nvidia
    temp: 50 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 25%
Info:
  Processes: 349 Uptime: 51m wakeups: 0 Memory: 31.31 GiB
  used: 12.31 GiB (39.3%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 Packages: pm: dpkg pkgs: 0 pm: pacman
  pkgs: 1583 libs: 499 tools: octopi,pamac,paru Shell: fish v: 3.5.1
  default: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.23
Garuda (2.6.10-1):
  System install date:     2022-11-29
  Last full system update: 2022-11-30 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:            

Just a note, this randomly works for a minute (i was able to edit some settings), and then i added a new profile and it broke again. Not able to edit any settings.

1 Like

This seems to be resolved now, I am able to add and edit all connections. I see there was an update pushed.

gnome-shell 1:43.1+r6+g92e9689a4-1
networkmanager-fortisslvpn 1.4.0-2
networkmanager-openvpn 1.10.2-1
networkmanager-vpnc 1.2.8-2
openfortivpn 1.19.0-2
openvpn 2.5.8-2
vpnc 1:0.5.3.r506.r204-2