Software⏱️ 3 min read📅 2026-06-11

How to Fix: Getting a "your password no longer matches your keyring" error when I try to access my VPN on Kali Linux

Fixing password mismatch issue for VPN access on Kali Linux

Quick Answer: Try removing the keyring and re-add it after resetting the root password.

The 'your password no longer matches your keyring' error occurs when the password stored in the keyring does not match the new root password set after resetting. This issue affects users of Kali Linux who have recently reset their root password and are experiencing difficulties accessing their VPN.

This error can be frustrating as it prevents users from accessing their VPN, which may contain sensitive information or require specific permissions to access certain resources. In this guide, we will walk you through the steps to resolve this issue in Kali Linux.

🛑 Root Causes of the Error

  • The primary reason for this error is that the new root password does not match the password stored in the keyring. When you reset your root password, the system updates the password in the keyring, but it may take some time for the changes to propagate. In the meantime, the old password is still present in the keyring, causing the error.
  • An alternative reason could be that the keyring service is not properly configured or is not running. If the keyring service is not enabled or is not running, the system may not be able to access the stored passwords, leading to this error.

🔧 Proven Troubleshooting Steps

Resetting the Keyring

  1. Step 1: Open a terminal on Kali Linux and type the following command: `sudo keychain --quit` to quit any existing keychain session.
  2. Step 2: Next, type the following command: `sudo keychain --add-root` to add the new root password to the keyring. You will be prompted to enter your new password twice.
  3. Step 3: After adding the new password to the keyring, try accessing your VPN again. If you still encounter the error, proceed to the next step.

Disabling and Re-enabling the Keyring Service

  1. Step 1: Open a terminal on Kali Linux and type the following command: `sudo systemctl disable keyring` to disable the keyring service.
  2. Step 2: Next, type the following command: `sudo systemctl start keyring` to re-enable the keyring service. You may be prompted to enter your root password for authentication.

✨ Wrapping Up

To resolve the 'your password no longer matches your keyring' error in Kali Linux, try resetting the keyring or disabling and re-enabling the keyring service. If you encounter any issues during these steps, you can also consider seeking assistance from a system administrator or IT professional for further guidance.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions