Installing ProtonVPN on MX KDE, step by step  [Solved]

Message
Author
User avatar
fehlix
Developer
Posts: 12703
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installing ProtonVPN on MX KDE, step by step

#41 Post by fehlix »

MarieSophie wrote: Thu Jun 27, 2024 2:27 pm apt update, not zypper ref, sorry :/

And no new entry in kwallet (no secret service)
and still the 1 second crash when clicking the icon :(

Code: Select all

ll packages are up to date.
root@T440p:/home/sophie/Downloads# protonvpn-app
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/secretstorage/__init__.py", line 73, in dbus_init
    connection = open_dbus_connection()
                 ^^^^^^^^^^^^^^^^^^^^^^
Now, I may see why regularly may break your system.
This is about a user session. Openening root terminal and running always commands
as root, has the potential to break your system.
Proton VPN needs to be started within a user session as normal user.

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: Installing ProtonVPN on MX KDE, step by step

#42 Post by MarieSophie »

fehlix wrote: Thu Jun 27, 2024 2:37 pm Now, I may see why regularly may break your system.
This is about a user session. Openening root terminal and running always commands
as root, has the potential to break your system.
Proton VPN needs to be started within a user session as normal user.
I'm in a normal user session,
I just opened a terminal as root which is the equivalent to sudo su

But I can re-do the script without it, and just waiting for it to ask me to sudo ... I'm on it !
Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: Installing ProtonVPN on MX KDE, step by step

#43 Post by MarieSophie »

executed script not root,
Asked me for sudo
updated 1
Still no "secret service" entry in Kwallet
And protonvpn-app gives me less error lines:

Code: Select all

ophie@T440p:~/Downloads
$ protonvpn-app
Traceback (most recent call last):
  File "/usr/bin/protonvpn-app", line 33, in <module>
    sys.exit(load_entry_point('proton-vpn-gtk-app==4.3.2', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 59, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector
    self._connector = await self._api.get_vpn_connector()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 57, in get_vpn_connector
    settings = await self.load_settings()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 68, in load_settings
    user_tier = self._session_holder.session.vpn_account.max_tier
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'max_tier'

Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

User avatar
fehlix
Developer
Posts: 12703
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installing ProtonVPN on MX KDE, step by step

#44 Post by fehlix »

MarieSophie wrote: Thu Jun 27, 2024 5:43 pm executed script not root,
Asked me for sudo
updated 1
Still no "secret service" entry in Kwallet
And protonvpn-app gives me less error lines:

Code: Select all

ophie@T440p:~/Downloads
$ protonvpn-app
Traceback (most recent call last):
  File "/usr/bin/protonvpn-app", line 33, in <module>
    sys.exit(load_entry_point('proton-vpn-gtk-app==4.3.2', 'console_scripts', 'protonvpn-app')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 59, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector
    self._connector = await self._api.get_vpn_connector()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 57, in get_vpn_connector
    settings = await self.load_settings()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 68, in load_settings
    user_tier = self._session_holder.session.vpn_account.max_tier
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'max_tier'

Looks to me like you broke it already. "Oh no, I've done it again"
Suggest, do a simple install without any fancy stuff, maybe just update/upgrade.
And try avoid root-terminal or other root-activity when not needed.
Took here kind of 10 minutes to do a fresh install of MX-23.3_KDE and
setup Proton VPN (with help of the above script.)
and verified that it works both in sysvinit booted as well in systemd.
One item, which I only have mentioned shortly,
make sure Kwallet subsystem is enabled and a default wallet is defined and accessible.

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: Installing ProtonVPN on MX KDE, step by step

#45 Post by MarieSophie »

ok, so you are suggesting to reinstall MX,
Create a kwallet "default" (not "Default")
Run the script
sure ! just time for me to save my work and files to an external drive and hop ! it will only be the 102th time ;)
in 45 minutes I'll be in bed, so tomorrow ...
Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: Installing ProtonVPN on MX KDE, step by step

#46 Post by MarieSophie »

ta daaaahh ! Working :)
Fresh install - tweak - TimeShift - install ProtonMail - try TimeShift restore (worked) - reinstall ProtonMail - apt upgrade - TimeShift - a few more UIS - and ... install-vpn,sh - TimeShift
Like a charm !
I've had a moment when my heart bit in reverse when I exited the console running protonvpn-app, the screen froze, and then when I restarted p.vpn by GUI, the icon appeared in the taskbar and disappeared (oh noooo) and reappeared a cple seconds after and worked just fine.

oh ! and my USB key where I have all my passwords and keyfiles and LUKS headers etc .. got *erased* when I used TimeShift restore !! (well, I think it was that because of the timing coincidence) so shutdown now, boot with HSBC keys, use recovery manager, didn't work, another one worked, I got my files back (and some older files that were on the key way before)

now for the /home symlinks script, I will give it a try for the other user first, but checking that the destination folder don't have any hidden files, and then I will do it for my user
And then the KVM (or VB)
With a TimeShift after each other steps

But first .... reboot (what a stress, what a stress)

Thank you all, again, I'm gonna cry :-p
Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

User avatar
fehlix
Developer
Posts: 12703
Joined: Wed Apr 11, 2018 5:09 pm

Re: Installing ProtonVPN on MX KDE, step by step

#47 Post by fehlix »

MarieSophie wrote: Fri Jun 28, 2024 3:48 pm ta daaaahh ! Working :)
Fresh install - tweak - TimeShift - install ProtonMail - try TimeShift restore (worked) - reinstall ProtonMail - apt upgrade - TimeShift - a few more UIS - and ... install-vpn,sh - TimeShift
Like a charm !
Good. If the goal of this topic has been achieved and [SOLVED] according to the title of the topic, suggest mark the topic as such.
In case you have another specific issue to get sorted, please do open another topic with a good descriptive topic title of the issue.
Thanks

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: Installing ProtonVPN on MX KDE, step by step

#48 Post by MarieSophie »

fehlix wrote: Fri Jun 28, 2024 5:47 pm Suggest mark the topic title as [SOLVED]
Done ! and thank you again :)
Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

User avatar
Eadwine Rose
Administrator
Posts: 14642
Joined: Wed Jul 12, 2006 2:10 am

Re: [Solved] Installing ProtonVPN on MX KDE, step by step

#49 Post by Eadwine Rose »

Please click the checkmark next to the username in the post that holds the solution to mark the topic solved, thanks :)
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

MarieSophie
Posts: 109
Joined: Mon Jun 24, 2024 10:39 am

Re: [Solved] Installing ProtonVPN on MX KDE, step by step

#50 Post by MarieSophie »

Eadwine Rose wrote: Tue Jul 02, 2024 4:25 pm Please click the checkmark next to the username in the post that holds the solution to mark the topic solved, thanks :)
Again ? but I already did a few days ago ?
Retired: T21, T22, T42p, T61p,
Running: W700DS Suse; T440p MX23.5; P15.gen2 Qubes/Win10

Locked

Return to “Software / Configuration”