GoBig87 / NordVpnLinuxGUI

A GUI wrapper for the Linux Nord VPN client
MIT License
53 stars 5 forks source link

Login to Nord website fine, but is not carried over to GUI app in 22.04 :-( #8

Open DIW79 opened 2 years ago

DIW79 commented 2 years ago

Hi there,

Unfortunately I have a report of the similar issues on a brand new, fresh install (this morning) of Ubuntu 22.04.

I can open the app, but then when attempting to login, I am given the following output after attempting to login (incidentally, the website recognises that I am logged directly to it, but the terminal shows the following, and no subsequent login is seen in the app:-

`Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.`

The complete output from the attempt looks liek this:-

`iwan@Legion:~/NordVpnLinuxGUI-1.0.3$ ./NordVpnLinuxGUI.sh bash: ./NordVpnLinuxGUI.sh: No such file or directory iwan@Legion:~/NordVpnLinuxGUI-1.0.3$ ./NordVPNLinuxGUI.sh [INFO ] [Logger ] Record log in /home/iwan/.kivy/logs/kivy_22-05-12_2.txt [INFO ] [Kivy ] v2.0.0 [INFO ] [Kivy ] Installed at "/home/iwan/NordVpnLinuxGUI-1.0.3/venv/lib/python3.8/site-packages/kivy/init.py" [INFO ] [Python ] v3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] [INFO ] [Python ] Interpreter at "/home/iwan/NordVpnLinuxGUI-1.0.3/venv/bin/python" [INFO ] [Factory ] 186 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored) [INFO ] [KivyMD ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/iwan/NordVpnLinuxGUI-1.0.3/venv/lib/python3.8/site-packages/kivymd/init.py") [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: sdl2 [INFO ] [GL ] Using the "OpenGL" graphics system [INFO ] [GL ] Backend used [INFO ] [GL ] OpenGL version <b'4.6.0 NVIDIA 470.103.01'> [INFO ] [GL ] OpenGL vendor <b'NVIDIA Corporation'> [INFO ] [GL ] OpenGL renderer <b'NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2'> [INFO ] [GL ] OpenGL parsed version: 4, 6 [INFO ] [GL ] Shading version <b'4.60 NVIDIA'> [INFO ] [GL ] Texture max size <32768> [INFO ] [GL ] Texture max units <32> [INFO ] [Window ] auto add sdl2 input provider [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [WARNING] [Factory ] Ignored class "DialogContainer" re-declaration. Current - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. Ignored - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. [INFO ] [GL ] NPOT texture support is available Sending Command: nordvpn countries Albania Greece Poland Argentina Hong_Kong Portugal Australia Hungary Romania Austria Iceland Serbia Belgium India Singapore Bosnia_And_Herzegovina Indonesia Slovakia Brazil Ireland Slovenia Bulgaria Israel South_Africa Canada Italy South_Korea Chile Japan Spain Costa_Rica Latvia Sweden Croatia Lithuania Switzerland Cyprus Luxembourg Taiwan Czech_Republic Malaysia Thailand Denmark Mexico Turkey Estonia Moldova Ukraine Finland Netherlands United_Kingdom France New_Zealand United_States Georgia North_Macedonia Vietnam Germany Norway

Sending Command: nordvpn groups Africa_The_Middle_East_And_India Onion_Over_VPN Asia_Pacific P2P Dedicated_IP Standard_VPN_Servers Double_VPN The_Americas Europe

Africa_The_Middle_East_And_India Onion_Over_VPN Asia_Pacific P2P Dedicated_IP Standard_VPN_Servers Double_VPN The_Americas Europe

Sending Command: nordvpn settings Technology: OPENVPN Protocol: UDP Firewall: enabled Kill Switch: disabled CyberSec: disabled Obfuscate: disabled Notify: disabled Auto-connect: disabled IPv6: disabled DNS: disabled

Sending Command: nordvpn account You are not logged in.

Sending Command: nordvpn status Status: Disconnected

Sending Command: nordvpn version NordVPN Version 3.12.5

[INFO ] [Clipboard ] Provider: xclip [INFO ] [CutBuffer ] cut buffer support enabled [INFO ] [ProbeSysfs ] device match: /dev/input/event17 [INFO ] [MTD ] Read event from </dev/input/event17> [INFO ] [Base ] Start application main loop [WARNING] [MTD ] Unable to open device "/dev/input/event17". Please ensure you have the appropriate permissions. Sending Command: nordvpn login Continue in the browser: https://zwyr157wwiu6eior.com/v1/users/oauth/login-redirect?attempt=970e7b58-a0e3-42bb-92f0-3b6073fa769e

Opening in existing browser session. Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.`

GoBig87 commented 2 years ago

Does logging in manually with nordvpn login in a terminal work by chance?

GoBig87 commented 2 years ago

`[INFO ] [Logger ] Record log in /home/jason-inbody/.kivy/logs/kivy_22-06-30_4.txt [INFO ] [Kivy ] v2.1.0 [INFO ] [Kivy ] Installed at "/home/jason-inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.10/site-packages/kivy/init.py" [INFO ] [Python ] v3.10.4 (main, Apr 2 2022, 09:04:19) [GCC 11.2.0] [INFO ] [Python ] Interpreter at "/home/jason-inbody/GitProjects/NordVpnLinuxGUI/venv/bin/python" [INFO ] [Logger ] Purge log fired. Processing... [INFO ] [Logger ] Purge finished! [INFO ] [Factory ] 189 symbols loaded [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored) [INFO ] [KivyMD ] 0.104.2, git-bc7d1f5, 2021-06-06 (installed at "/home/jason-inbody/GitProjects/NordVpnLinuxGUI/venv/lib/python3.10/site-packages/kivymd/init.py") [INFO ] [Text ] Provider: sdl2 [INFO ] [Window ] Provider: sdl2 [INFO ] [GL ] Using the "OpenGL" graphics system [INFO ] [GL ] Backend used [INFO ] [GL ] OpenGL version <b'4.6 (Compatibility Profile) Mesa 22.0.1'> [INFO ] [GL ] OpenGL vendor <b'Intel'> [INFO ] [GL ] OpenGL renderer <b'Mesa Intel(R) UHD Graphics 620 (KBL GT2)'> [INFO ] [GL ] OpenGL parsed version: 4, 6 [INFO ] [GL ] Shading version <b'4.60'> [INFO ] [GL ] Texture max size <16384> [INFO ] [GL ] Texture max units <32> [INFO ] [Window ] auto add sdl2 input provider [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [WARNING] [Factory ] Ignored class "DialogContainer" re-declaration. Current - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. Ignored - module: None, cls: None, baseclass: MDCard+FakeRectangularElevationBehavior, filename: None. [INFO ] [GL ] NPOT texture support is available Sending Command: nordvpn countries Albania Costa_Rica Greece Lithuania Portugal Switzerland Argentina Croatia Hong_Kong Luxembourg Romania Taiwan Australia Cyprus Hungary Malaysia Serbia Thailand Austria Czech_Republic Iceland Mexico Singapore Turkey Belgium Denmark Indonesia Moldova Slovakia Ukraine Bosnia_And_Herzegovina Estonia Ireland Netherlands Slovenia United_Kingdom Brazil Finland Israel New_Zealand South_Africa United_States Bulgaria France Italy North_Macedonia South_Korea Vietnam Canada Georgia Japan Norway Spain Chile Germany Latvia Poland Sweden

Sending Command: nordvpn groups Africa_The_Middle_East_And_India Double_VPN Onion_Over_VPN Standard_VPN_Servers Asia_Pacific Europe P2P The_Americas

Africa_The_Middle_East_And_India Double_VPN Onion_Over_VPN Standard_VPN_Servers Asia_Pacific Europe P2P The_Americas

Sending Command: nordvpn settings Technology: NORDLYNX Firewall: enabled Kill Switch: disabled Threat Protection Lite: disabled Notify: disabled Auto-connect: disabled IPv6: disabled DNS: disabled

Sending Command: nordvpn account You are not logged in.

Sending Command: nordvpn status Status: Disconnected

Sending Command: nordvpn version NordVPN Version 3.14.1

[INFO ] [Clipboard ] Provider: xclip [INFO ] [CutBuffer ] cut buffer support enabled WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. WARNING: running xinput against an Xwayland server. See the xinput man page for details. [INFO ] [ProbeSysfs ] device match: /dev/input/event4 [INFO ] [MTD ] Read event from </dev/input/event4> [INFO ] [Base ] Start application main loop Sending Command: nordvpn login Continue in the browser: https://napps-1.com/v1/users/oauth/login-redirect?attempt=e0ced110-066b-4ce3-b64c-9bd8516984be

[WARNING] [MTD ] Unable to open device "/dev/input/event4". Please ensure you have the appropriate permissions. Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account You are not logged in.

Checking account.... not logged in... Sending Command: nordvpn account New feature - Meshnet! Link remote devices in Meshnet to connect to them directly over encrypted private tunnels, and route your traffic through another device. Use the nordvpn meshnet --help command to get started. Learn more: https://nordvpn.com/features/meshnet/ Account Information: Email Address: inbody.5@gmail.com VPN Service: Active (Expires on Apr 18th, 2023)

Checking account.... Sending Command: nordvpn account New feature - Meshnet! Link remote devices in Meshnet to connect to them directly over encrypted private tunnels, and route your traffic through another device. Use the nordvpn meshnet --help command to get started. Learn more: https://nordvpn.com/features/meshnet/ Account Information: Email Address: inbody.5@gmail.com VPN Service: Active (Expires on Apr 18th, 2023) `

I'm running ubuntu 22.04 and using NordVPN Version 3.14.1 (find via nordvpn --version form a terminal). I was able to run the app and log in through my browser (firefox) and hit the open application with the system handler. Maybe an old version of the nordvpn cli required a different app than the system handler that is causing the issue? Or possibly a newer version of the Nordvpn cli tool like 3.14.1 could fix it? I think running sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh) will update you to the latest.

GoBig87 commented 2 years ago

Screenshot from 2022-06-30 14-55-03

GoBig87 commented 1 year ago

I might have found the issue. I think the apt package manager may have an issue. On my system I came accross this issue being unable to login. I checked and nordvpn was not installed. I then tried to install manually and saw this when I went to update jason-inbody@jason-inbody:~/GitProjects$ sudo apt update Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 https://repo.nordvpn.com//deb/nordvpn/debian stable InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:6 https://ppa.launchpadcontent.net/colingille/freshlight/ubuntu jammy InRelease Err:7 https://ppa.launchpadcontent.net/colingille/freshlight/ubuntu jammy Release 404 Not Found [IP: 185.125.190.52 443] Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/colingille/freshlight/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

I had to then disable colingille/freshlight/ubuntu jammy in the software update GUI Screenshot from 2022-08-06 20-00-21 I unchecked the package causing the problem and was able to reinstall.

GoBig87 commented 1 year ago

I've added a nordvpn cli check to the app to alert users if the deps weren't properly installed https://github.com/GoBig87/NordVpnLinuxGUI/pull/14