Introduction:
In this article, you will learn how to extract NordVPN connection logs on Linux to help troubleshoot application or connectivity issues. These logs are essential for technical support as they reveal specific errors the application encounters during operation.
Before you start:
- Make sure you have the NordVPN app installed on your Linux distribution.
- Double-check if you have access to the Terminal.
- Double-check whether you installed NordVPN via a .deb/.rpm package or via Snap.
Here's what to do:
Extracting NordVPN connection logs for .deb or .rpm packages
- Open the Terminal (Ctrl + Alt + T).
- Enter the following command to generate the log file:
sudo journalctl -u nordvpnd.service > ~/Downloads/daemon.log- The log file will be saved as "daemon.log" in your "Downloads" folder.
Extracting NordVPN connection logs for Snap packages
- Open the Terminal (Ctrl + Alt + T).
- Enter the following command to generate the log file:
sudo journalctl -u snap.nordvpn.nordvpnd.service > ~/Downloads/daemon.log- The log file will be saved as "daemon.log" in your "Downloads" folder.
Alternative method for systems without systemd
If the commands above do not work, your operating system may not use "systemd." In this case, try copying the log file directly:
- Open the Terminal (Ctrl + Alt + T).
- Enter the following command to generate the log file:
sudo cp /var/log/nordvpn/daemon.log ~/Downloads/daemon.log- The log file will be saved as "daemon.log" in your "Downloads" folder.
NOTE: If this command also fails, it is likely that the NordVPN application had nothing to log and did not create a file.
Additional tips:
- If you encounter connectivity or app performance issues, please attach the generated "daemon.log" file when contacting support for faster resolution.
- We recommend saving logs to the "Downloads" folder, as some Linux distributions do not include a default "Desktop" folder.