PIA version 78 Linux Mint 18.3 Cinnamon: Cannot Connect to VPN
This was also happening in version 77, but I couldn't find any info on this at all, so I was waiting for the next version, but it is still happening. It is happening on two different PCs running the same version of Mint as the title, and I have tried running it with both the stock openvpn, the updated stable openvpn, and the updated testing openvpn. None of which work, neither for version 78 or 77.
As for how it's not working, it will launch and allow me to access the menus, but if I try to connect, it will softlock on the connecting stage. I can get the program to open another menu or such, but I cannot disconnect it manually at this point as it is just stuck.
I am more than happy to help out someone who is a bit more experienced with diagnosing problems with this program and openvpn so just tell me what you need and I'll get it to you (logs, etc.)
As for how it's not working, it will launch and allow me to access the menus, but if I try to connect, it will softlock on the connecting stage. I can get the program to open another menu or such, but I cannot disconnect it manually at this point as it is just stuck.
I am more than happy to help out someone who is a bit more experienced with diagnosing problems with this program and openvpn so just tell me what you need and I'll get it to you (logs, etc.)

Comments
https://www.privateinternetaccess.com/forum/discussion/comment/49793/#Comment_49793
(use the PIA-prepared 'ovpn' files found at https://www.privateinternetaccess.com/openvpn/openvpn.zip )
for more information, go to the "Download & Support" page at PIA and expand the "Advanced OpenVPN SSL Usage Guides" section
left-justify, please...
okay. it appears the basic level of your tech is functional. it would seem the PIA install is busted in some way.
when running the PIA install: *do not* run it as root or with sudo .
refer to this for how to remove previous/busted installs
https://www.privateinternetaccess.com/forum/discussion/comment/55026/#Comment_55026
Followed your suggestion from that forum. It still does not connect even after wiping the data completely from both /opt/ and from ~
Also, I have never installed it as root (and only give it sudo when it asks for it during its dependency check with apt.)
Any thoughts on how to proceed from here? There's definitely some issue because it affects two completely separate computers of mine running the same version of Linux Mint.
What's your debug log ID?
The debug log on what I will call laptop #2 (since I have two Linux Mint 18.3 laptops with the same issue) is D 5 E D 1
Updating to version version 79 also had no effect, but I don't think this version changed anything in Linux anyway.
As for what is going on, it just stays on the "connecting" phase of the notification widget and never connects. I can interact with even after it gets to the connecting phase, but the only thing it won't let me do at that point is disconnect from the connecting phase. It just stays there until I exit it (that also works properly).
$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1930044k,nr_inodes=482511,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=391896k,mode=755)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (rw,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma,release_agent=/run/cgmanager/agents/cgm-release-agent.rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13652)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
drwxr-xr-x 10 root root 4096 Apr 19 14:33 /opt/pia
total 13392
drwxr-xr-x 5 root root 4096 Apr 11 12:20 frontend
drwxr-xr-x 4 root root 4096 Apr 11 12:20 nwjs
drwxr-xr-x 2 root root 4096 Apr 11 12:20 openvpn-32
drwxr-xr-x 2 root root 4096 Apr 11 12:20 openvpn-64
-rwsr-xr-x 1 root root 6833380 Apr 11 12:20 openvpn_launcher.32
-rwsr-xr-x 1 root root 6839296 Apr 11 12:20 openvpn_launcher.64
drwxr-xr-x 3 root root 4096 Apr 11 12:20 pia_manager
drwxr-xr-x 2 root root 4096 Apr 11 12:20 rgloader
drwxr-xr-x 2 root root 4096 Apr 11 12:20 root_runner
drwxr-xr-x 4 root root 4096 Apr 19 14:33 ruby
-rwxr-xr-x 1 root root 167 Apr 11 12:20 run.sh
Sounds like it's the /opt directory itself that's the issue and not just /opt/pia. Try these:
This should set permissions to something the root runner likes more.
Yep that solved it. I must have messed up the permissions when trying to put TOR in there (I don't think I reverted what I did to try to solve that so that must have caused the problem.) And no worries about the delay—I just wanted to know that I was left forgotten with this issue, haha.
Thank you for the help. Very much appreciated @Max-P @martouf and @PIAColleen