LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro
User Name
Password
Manjaro This forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 03-30-2023, 06:01 AM   #1
enthusasist
LQ Newbie
 
Registered: Mar 2023
Posts: 6

Rep: Reputation: 0
Can't connect to vpn in Manjaro KDE Plasma


Hello!
Could you please give an advice how to configure VPN connection by user interface of OS.
I can do it from console by command like this:
Code:
sudo openconnect MyVPNAddress
or
Code:
echo "MyPassword" | openconnect MyVPNAddress --servercert pin-sha256:MyServerCert --authgroup MyServerGroup -u MyUsername --passwd-on-stdin
I can also connect from Windows 10 using Cisco AnyConnect Secure Mobility Client.
But I can’t connect by ui of Manjaro. I’ve tried several options. For example when I use vpnc without GroupPassword, it doesn’t connect and returns message:
Quote:
sending new secrets to the plugin failed: GDBus.Error:org.freedesktop.NetworkManager.VPN.Error.Inv
alidConnection: The request could not be processed because the requested “IPSec secret” information was not provided.
(I watch logs with command journalctl -f _COMM=NetworkManager)
When I put there a GroupPassword it says that it is connected, but websites are not available and after 30 seconds it disconnects with message
Quote:
dbus: failure: connect-failed
I’ve also tried different types of connection but no success. I have this options in VPN settings menu:
  • Array Networks Compatible VPN (openconnect)
  • Cisco AnyConnect Compatible VPN (openconnect)
  • F5 BIG_IP Compatible VPN (openconnect)
  • Fortinet Compatible VPN (openconnect)
  • Pulse Connect Secure (openconnect)
Should I use one of this connections, or install something else?
I’ve also tried to install cisco-anyconnect from AUR, but it’s interface does not show anything.
My OS details:
  • Manjaro 22.0.5 Sikaris
  • KDE Plasma 5.26.5
  • KDE Frameworks 5.103.0
  • Qt Version 5.15.8
  • Kernel Version 5.15.102-1-MANJARO (64-bit)
  • Graphics Platform X11
 
Old 04-17-2023, 12:14 PM   #2
dosensuppe
Member
 
Registered: Feb 2021
Location: Germany
Distribution: Artix Linux, Slackware, Gentoo
Posts: 83

Rep: Reputation: Disabled
Does you vpn provider/ workplace (?) provide .ovpn files?
This is how I always did it for cyberghost: https://support.cyberghostvpn.com/hc...etwork-Manager
Worked on various distros. Make sure to test for DNS leaks afterwards. I had problems with that in the past, since CyberGhost wouldn't offer ipv6 and it would just leak through so I had to disable it, if I remember correctly.
 
Old 04-19-2023, 06:28 AM   #3
enthusasist
LQ Newbie
 
Registered: Mar 2023
Posts: 6

Original Poster
Rep: Reputation: 0
Finally connected!
Installed openconnect-gui
.

Then I switched to configuring network connections.
Click “Add Connection”.
Type: “Cisco Any Connect compatible VPN”.

Entering MyVPNAddress.

Save.
(ReportedOS after saving was automatically filled with “Apple iOS”)

Click Connect.
Click the connect button near “VPN Host”
I got a certificate error, click OK
After that, appeared a list with the VPN server groups. I choose the desired one, entered the password (the login has already been entered). Check the boxes "Automatically start connecting next time," "Store passwords" and "View Log" and click Login.

Then the connection is successful.

It remains to figure out how to save the password not to enter it every time.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20230419_135342.png
Views:	321
Size:	87.6 KB
ID:	40838   Click image for larger version

Name:	Screenshot_20230419_135558.png
Views:	323
Size:	114.4 KB
ID:	40839   Click image for larger version

Name:	Screenshot_20230419_135703.png
Views:	322
Size:	76.3 KB
ID:	40840   Click image for larger version

Name:	Screenshot_20230419_135950.png
Views:	321
Size:	52.0 KB
ID:	40841   Click image for larger version

Name:	Screenshot_20230419_135738.png
Views:	321
Size:	47.6 KB
ID:	40842  

 
Old 04-19-2023, 07:31 AM   #4
enthusasist
LQ Newbie
 
Registered: Mar 2023
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by enthusasist View Post
It remains to figure out how to save the password not to enter it every time.
I've tried to add password in file /etc/NetworkManager/system-connections/MyVPNConnection.nmconnection like:
form:main: password=MyPassword
But it disappears after trying to connect

Last edited by enthusasist; 04-20-2023 at 01:58 AM.
 
Old 04-20-2023, 01:55 PM   #5
dosensuppe
Member
 
Registered: Feb 2021
Location: Germany
Distribution: Artix Linux, Slackware, Gentoo
Posts: 83

Rep: Reputation: Disabled
Look into seahorse. Perhaps you haven't configured your keyring correctly
 
Old 04-26-2023, 03:31 AM   #6
enthusasist
LQ Newbie
 
Registered: Mar 2023
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dosensuppe View Post
Look into seahorse. Perhaps you haven't configured your keyring correctly
Thanks! But there is nothing there. I've tried to unlock KDEWallet and added a key for MyVPNConnection, but it didn't appear there
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KDE Plasma 5.21.4 Improves Support for the Fortinet SSL VPN, Plasma System Monitor App LXer Syndicated Linux News 0 04-07-2021 10:05 AM
LXer: Manjaro Linux KDE 15.09 Gets a Fourth Release Candidate with KDE Plasma 5.4.1 LXer Syndicated Linux News 0 09-20-2015 09:30 PM
LXer: Manjaro Linux KDE 0.9.0 Pre4 Now Uses KDE Plasma 5.2.1 and KDE Applications 14.12.3 LXer Syndicated Linux News 0 03-15-2015 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Manjaro

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration