ACLClouds
ACLClouds

How do I regain root access with noVNC?

Reset a lost password from an authorized local session without exposing the VPS. Recovery depends on the Linux image and access already available.

Recovery depends on the Linux image and access already available. noVNC does not bypass authentication: it only gives access to the local console of the VM.

Step-by-step procedure

  1. Try a sudo account

    Log in with the user created during installation then use sudo passwd root or change your own password.

  2. Check the keyboard

    In noVNC, check AZERTY/QWERTY and Caps Lock before concluding that the password is wrong.

  3. Use emergency mode if necessary

    If no local account works, open a ticket for an image-specific recovery procedure. Do not edit GRUB without a backup.

  4. Renew access

    After recovery, install an SSH key, test it in a second session and disable unnecessary methods.

Reinstall and start the QEMU Guest Agent

apt install -y qemu-guest-agent || dnf install -y qemu-guest-agent
systemctl start qemu-guest-agent
systemctl status qemu-guest-agent --no-pager

Before you start

A Linux VPS is reached over SSH on port 22 with the user root. The IPv4 address is shown in "My services" > your VPS. The initial password is sent by email only, at delivery, and is never displayed in the panel: look for that email first.

  • Check that the VPS is "Online": the "noVNC console" and the "Rescue restart" only work on a running VPS.
  • Only the owner of the VPS can change the password or start the rescue restart from the panel.

Reset from the panel

Before doing anything in the console, use the "Access security" card on the VPS page: enter a new password of at least 8 characters, confirm it, then click "Change password". The panel applies the change to the root user inside the VM and sends you a security email.

The "Rescue restart" button, in the VPS actions, generates temporary credentials, emails them and then restarts the VPS. Both features go through the QEMU Guest Agent installed in the VM: if it is stopped or uninstalled, the panel shows an error and you are left with the noVNC console or a support ticket.

Check that everything works

Open a new session without closing the one that works, then test ssh root@IP with the new password or your key. Inside the VM, systemctl status qemu-guest-agent must show active (running) so that resets from the panel stay possible.

No automatic bypass

The console does not replace the Linux login credentials. A reinstallation destroys the data and remains the last resort.

Frequently asked questions

The panel shows Réinitialisation impossible. Vérifie que le QEMU Guest Agent est installé et actif., what should I do?

The panel could not reach the agent inside the VM. If an SSH session or the console still works, install and start the agent (see the command block), then try again. With no access at all, open a ticket from the client area.

Why does SSH answer Permission denied (publickey) when the password is correct?

The SSH server refuses password authentication: PasswordAuthentication no is set in /etc/ssh/sshd_config or in a file under /etc/ssh/sshd_config.d/. Log in with the matching key. Otherwise, from the noVNC console, temporarily set the value to yes, run systemctl restart ssh (sshd on Rocky Linux and AlmaLinux), install your key, then set it back to no.

noVNC shows Login incorrect although the password is right, why?

The panel noVNC console does not offer pasting from the clipboard: type the password on the keyboard. Check the layout, because an a becomes q between AZERTY and QWERTY, and check Caps Lock.