Bug 490387 - Cannot automatically connect to openconnect VPN
Summary: Cannot automatically connect to openconnect VPN
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-17 07:46 UTC by deadmeu
Modified: 2024-12-23 18:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deadmeu 2024-07-17 07:46:32 UTC
SUMMARY
I have a PAN Global Protect (openconnect) type VPN set up, but the "Automatically connect to VPN" option is disabled and cannot be enabled.

STEPS TO REPRODUCE
1. Add a PAN Global Protect (openconnect) VPN
2. Configure the connection and, under "General configuration", try to enable "Automatically connect to VPN"

OBSERVED RESULT
Cannot enable the feature to automatically connect to the VPN.

EXPECTED RESULT
Be able to enable the feature.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 David Edmundson 2024-07-18 13:37:35 UTC
>2. Configure the connection and, under "General configuration", try to enable "Automatically connect to VPN"

The UI is maybe confusing, but this option is enabled where you see LAN1 or "MyWifi" and it's next to the combo box of which VPN to use.
You don't choose the VPN to auto-connect in the VPN settings.

Can you confirm that's the issue, then we can clean up the UI to become invisible rather than disabled.
Comment 2 deadmeu 2024-07-18 14:49:42 UTC
(In reply to David Edmundson from comment #1)
> >2. Configure the connection and, under "General configuration", try to enable "Automatically connect to VPN"
> 
> The UI is maybe confusing, but this option is enabled where you see LAN1 or
> "MyWifi" and it's next to the combo box of which VPN to use.
> You don't choose the VPN to auto-connect in the VPN settings.
> 
> Can you confirm that's the issue, then we can clean up the UI to become
> invisible rather than disabled.

Sorry, yes you're right, I misunderstood how to set that up.

Setting auto-connect up on the network connection itself appears to work fine, so this issue can be closed. Though, I am interested in setting the VPN to always connect regardless of the connection and I can't figure that part out.
Comment 3 Ben Cooksley 2024-12-23 18:23:44 UTC
Bulk transfer as requested in T17796