Bug 490387

Summary: Cannot automatically connect to openconnect VPN
Product: [Plasma] plasmashell Reporter: deadmeu <deadmeu>
Component: Networking in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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