NetworkManager should report VPN and connection errors in a user-friendly manner
Currently, when NetworkManager encounters an error, it simply reports it as a system notification without any indication of what the error is, or how to view additional logs.
Running the Logs application is also unhelpful, as the errors do not make searching out the actual problems that easy.
Download & install a fresh copy of Workstation Fedora (32)
Create a user ...
Download an ovpn profile from a common VPN provider
Import from file.. in NetworkManager
Cannot Import VPN Connection etc. popup error is displayed - missing the information that NetworkManager cannot handle some of the types of ovpn files providers offer. It is also missing the information that a user could try manua
Create a new ovpn connection
Download the relevant cert and attach via the GUI option
A system notification error is displayed
This is a common issue: SELinux does not allow access to cert files outside of the users home pki / cert directories or the system pki / cert directories.
- Include a link to the help page in the error message: https://help.gnome.org/users/network-admin/stable/tool-usage.html.en
- Update the help page to include common solutions to problems
- Add logic to automatically suggest fixes for common problems, such as cert files outside of system folders when SELinux is enabled.
The first two I can probably figure out how to contribute a patch for - the third solution, including troubleshooting business logic in GNOME system utilities, is worth a discussion on its own.