LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2019, 04:34 AM   #1
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
NetworkManager OpenVPN issue


I'm sure this must be something I'm doing wrong, but I can't find it!

NetworkManager won't store the password for my OpenVPN connection - but only on my laptop! On both my desktop machines and my old laptop, it works just as you would expect, but on my new laptop, it asks for the password every time. It goes through the motions of storing, but the next time OpenVPN is called, the password isn't there!

The new laptop is running -current (64), with Eric's Plasma5. However, it was a slightly odd install because it refuses to boot the Slackware installer. I had to install Eric's LiveSlack first (which did install without issues) and then point slackpkg+ at -current and update.

Any pointers gratefully received!

--
Pete
 
Old 07-06-2019, 09:49 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
I would start by comparing the NM configuration in the working and non-working machines. Examine the respective VPN configs in the /etc/NetworkManager/system-connections/ directory. System-wide connections will store the password within the root-owned configuration file, while "user-specific" connections may use a desktop password manager (eg kwallet or gnome-keyring) to do this.
 
Old 07-07-2019, 05:04 AM   #3
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
Well, it looks like I've fixed it! I deleted the VPN connection from NetworkManager, rebooted (just to be sure everything was now "clean"), and then re-installed the VPN. It now remembers the password!

Great, but I've still no idea WHY!

Thanks for the hints, Ferrari!

--
Pete
 
Old 07-07-2019, 06:34 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,793

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Well done!
 
  


Reply

Tags
networkmanager, openvpn, password



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I can't manage NetworkManager via /etc/rc.d/rc.networkmanager script igadoter Slackware 20 03-22-2018 03:17 PM
NetworkManager-openvpn issue BratPit Slackware 12 11-29-2015 01:25 PM
Networkmanager + OpenVPN : timeout problem (Fedora 10) jonaskellens Linux - Networking 5 11-02-2011 09:30 AM
[SOLVED] NetworkManager OpenVpn issue mrmnemo Linux - Networking 3 02-27-2011 12:04 PM
Configure NetworkManager OpenVPN - Import Configuration Fails morbo77 Linux - Networking 3 09-18-2009 07:08 PM

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

All times are GMT -5. The time now is 09:40 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