ProtonVPN problemes with i3 and KDE

Hi,
I have a probleme with protonvpn, here it is how it happens :

  • I uses protonvpn-cli with i3 and it works.

  • I wanted to try KDE Plasma so I installed it.

  • Then, I connect me to protonvpn on kde and a window ask me for creating a wallet with “kdewallet”. Everything worked and I can uses the vpn.

  • Then, I came back to i3 and, when I wanted to connect the vpn, protonvpn-cli shows the server name, but stay blocked and doesn’t connect… :
    pvpn-cant-connect
    (it stays blocked here).

  • … but it works on KDE.

  • I removed KDE and kdewallet , rebuild protonvpn (with paru)…

  • …and I still cant use protonvpn… :

Maybe a problem with kwallet and gnome-keyring, because KDE uses kwallet an i3 gnome-keyring ?

Here is my inxi -FAZ

System:
  Host: elio-mac Kernel: 6.1.1-arch1-1 arch: x86_64 bits: 64 Desktop: i3
    v: 4.21.1 Distro: EndeavourOS
Machine:
  Type: Laptop System: Apple product: MacBookAir7,2 v: 1.0
    serial: <superuser required>
  Mobo: Apple model: Mac-937CB26E2E02BB01 v: MacBookAir7,2
    serial: <superuser required> UEFI: Apple v: 427.140.8.0.0 date: 06/13/2021
Battery:
  ID-1: BAT0 charge: 10.8 Wh (23.0%) condition: 46.9/53.2 Wh (88.1%)
    volts: 7.0 min: 7.6
CPU:
  Info: dual core model: Intel Core i5-5250U bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 660 min/max: 500/2700 cores: 1: 500 2: 500 3: 842 4: 800
Graphics:
  Device-1: Intel HD Graphics 6000 driver: i915 v: kernel
  Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: intel
    unloaded: modesetting dri: i965 gpu: i915 resolution: 1440x900~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel HD Graphics 6000 (BDW
    GT3)
Audio:
  Device-1: Intel Broadwell-U Audio driver: snd_hda_intel
  Device-2: Intel Wildcat Point-LP High Definition Audio
    driver: snd_hda_intel
  Device-3: Broadcom 720p FaceTime HD Camera driver: N/A
  Sound API: ALSA v: k6.1.1-arch1-1 running: yes
  Sound Server-1: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Broadcom BCM4360 802.11ac Wireless Network Adapter driver: wl
  IF: wlan0 state: up mac: 34:36:3b:7c:0c:d2
Bluetooth:
  Device-1: Apple Bluetooth USB Host Controller type: USB driver: btusb
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 233.76 GiB used: 122.6 GiB (52.4%)
  ID-1: /dev/sda vendor: Apple model: SSD SM0256G size: 233.76 GiB
Partition:
  ID-1: / size: 220.08 GiB used: 122.6 GiB (55.7%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 47.0 C pch: 49.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 224 Uptime: 2h 27m Memory: 7.67 GiB used: 3.11 GiB (40.5%)
  Shell: Zsh inxi: 3.3.24

Thanks for answers.

As a side note:

inxi

-F , --full
Show Full output for inxi. Includes all Upper Case line letters (except -J and -W)

-Z , --filter-override , --no-filter

-z, --filter
Adds security filters for IP addresses, serial numbers, MAC, location (-w), and user home directory
name.

-xxx, --extra 3
Show extra, extra, extra data

Suggestion:

inxi -Fxxxz

Here you are

System:
  Kernel: 6.1.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: i3 v: 4.21.1 info: polybar vt: 7 dm: LightDM v: 1.32.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookAir7,2 v: 1.0
    serial: <superuser required> Chassis: type: 9 v: Mac-937CB26E2E02BB01
    serial: <superuser required>
  Mobo: Apple model: Mac-937CB26E2E02BB01 v: MacBookAir7,2
    serial: <superuser required> UEFI: Apple v: 427.140.8.0.0 date: 06/13/2021
Battery:
  ID-1: BAT0 charge: 3.2 Wh (6.8%) condition: 46.9/53.2 Wh (88.1%) volts: 6.7
    min: 7.6 model: SMP bq20z451 type: Li-ion serial: N/A status: discharging
    cycles: 135
CPU:
  Info: dual core model: Intel Core i5-5250U bits: 64 type: MT MCP
    smt: enabled arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 1300 high: 2700 min/max: 500/2700 cores: 1: 1000 2: 1000
    3: 2700 4: 500 bogomips: 12806
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 6000 vendor: Apple driver: i915 v: kernel
    arch: Gen-8 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:1626 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 compositor: Picom v: git-b700a
    driver: X: loaded: intel unloaded: modesetting alternate: fbdev,vesa
    dri: i965 gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1440x900 s-dpi: 96 s-size: 381x238mm (15.00x9.37")
    s-diag: 449mm (17.69")
  Monitor-1: eDP-1 mapped: eDP1 model: Apple Color LCD res: 1440x900 hz: 60
    dpi: 126 size: 290x180mm (11.42x7.09") diag: 341mm (13.4") modes: 1440x900
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel HD Graphics 6000 (BDW
    GT3) direct render: Yes
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Apple driver: snd_hda_intel
    v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
  Device-2: Intel Wildcat Point-LP High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
    class-ID: 0403
  Device-3: Broadcom 720p FaceTime HD Camera driver: N/A pcie: speed: 5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:1570 class-ID: 0480
  Sound API: ALSA v: k6.1.1-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Broadcom BCM4360 802.11ac Wireless Network Adapter vendor: Apple
    driver: wl v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 14e4:43a0 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth USB Host Controller type: USB driver: btusb v: 0.8
    bus-ID: 1-3.3:6 chip-ID: 05ac:828f class-ID: fe01
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 233.76 GiB used: 122.62 GiB (52.5%)
  ID-1: /dev/sda vendor: Apple model: SSD SM0256G size: 233.76 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: EA0Q scheme: GPT
Partition:
  ID-1: / size: 220.08 GiB used: 122.62 GiB (55.7%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 57.0 C pch: 58.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 231 Uptime: 3h 20m wakeups: 4 Memory: 7.67 GiB
  used: 4.43 GiB (57.8%) Init: systemd v: 252 default: graphical Compilers:
  gcc: 12.2.0 clang: 14.0.6 Packages: 1577 pm: pacman pkgs: 1556 pm: flatpak
  pkgs: 19 pm: snap pkgs: 2 Shell: Zsh v: 5.9 running-in: xfce4-terminal
  inxi: 3.3.24

1 Like

Did you try to logout and log back in on i3?

Yes

Ok, so I have a fresh install with Plasma. Login with GUI connect/disconnect. Switch to terminal and able to connect/disconnect.

I install i3wm and logged out and login under i3. I had to login again as the Plasma login wasn’t recognized. I did so using protonvpn-cli and connected successfully and now typing this message.

Maybe check ~/.cache/protonvpn/logs to see the issue or possibly remove ~/.config/protonvpn

Already tried to delete config but in the .cache/protonvpn/logs/protonvpn.log , I found that :

2022-12-30 15:47:25,760 — nm_client_mixin.py — INFO — __dynamic_callback:90 — Callback type: "start"
2022-12-30 15:47:25,761 — nm_client_mixin.py — INFO — __dynamic_callback:122 — The connection profile "Proton VPN NL-FREE#814102" has been started

and it is 16:46 and not 15:46 where I live (UTC+1). So maybe cant protonvpn connect because he use UTC time and not local time ?

Thanks fo the idea.