https://bugs.kde.org/show_bug.cgi?id=492053

            Bug ID: 492053
           Summary: Log in window not appearing when using a plasma
                    wayland session and connecting to GlobalProtect VPN
                    via NetworkManager (openconnect).
    Classification: Plasma
           Product: plasma-nm
           Version: 6.1.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: m.mallab...@gmail.com
  Target Milestone: ---

Created attachment 172865
  --> https://bugs.kde.org/attachment.cgi?id=172865&action=edit
Crash when attempting GlobalProtect VPN connection

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I have been using Plasma Wayland on Fedora 40 for a while with a working VPN
now.
Today I removed Gnome and switched to the KDE spin.
I then noticed the VPN web-dialogue no longer appeared when trying to connect
to GlobalProtect using NetworkManager.
I also reproduced this on NixOS 24.05.
Using Plasma X11 works as expected on both OSes.

Since testing X11 successfully, NixOS has often (not always) correctly rendered
the web-dialogue on repeated attempts but so far I have not seen this on
Fedora.
In both OSes, I have seen KDED appear in the task bar but no window appears,
and NetworkManager spins its wheel for a minute before timing out having not
received a secret.
Note that a reboot seems to be needed to try again or a connection attempt is
quickly dropped.

Related journalctl output (quick connection drop):
```
Aug 22 23:30:47 fedora NetworkManager[14314]: <warn>  [1724365847.8358]
vpn[0x55f25c9d5a50,46531bed-a4ed-468b-90e5-3dfbdc1756bc,"MFT GlobalProtect"]:
secrets: failed to request VPN secrets #3: No agents were available for this
request.
Aug 22 23:30:47 fedora plasmashell[11478]: kf.networkmanagerqt: void
NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&)
Unhandled property "VersionId"
```
The same error is seen on both OSes.

The initial attempt has a long journalctl log which I will add as an
attachment.

STEPS TO REPRODUCE
1. Install OS with KDE Wayland (no X11)
2. Configure a GlobalProtect VPN in NetworkManager
3. Try to connect to the VPN using the NetworkManager applet task bar icon and
clicking "Connect".
4. Click the little plug-like connect icon.

OBSERVED RESULT
No web portal to log in using MFA appears (mostly, occasionally working on
NixOS after using X11).
NetworkManager waits for a response then times out with a message about not
receiving a secret.

EXPECTED RESULT
A web portal appears allowing username / password and MFA login.
NetworkManager receives the secret and connects to the VPN.

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora 40 and NixOS 24.05 (VM)
KDE Plasma Version: 6.1.4 (Fedora) and 6.0.5 (NixOS)
KDE Frameworks Version: 6.5.0 (Fedora) and 6.2.0 (NixOS)
Qt Version: 6.7.2 (Fedora) and 6.7.2 (NixOS)

ADDITIONAL INFORMATION
On an attempt in which NixOS succeeds to load the web portal, followed by a
closing of the window without filling in the login details, journalctl shows
kded crashing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to