> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# How to Change Your Linux Password via Desktop (VNC)

This guide is for users who access a VPS with a desktop environment over VNC and want to change their Linux user password through the terminal.

## Change Your Password


### Connect to your VPS via VNC
Use your preferred remote desktop client (for example Remmina, RealVNC, or the CrownPanel VNC console) to connect to your VPS.
### Open the terminal
Most Linux desktop environments support the shortcut `Ctrl + Alt + T`. Press it to open a terminal window.
### Run the passwd command
In the terminal, type the following and press **Enter**:
```bash
passwd
```
You will see a prompt similar to this:
```
Enter new UNIX password:
```
### Enter your new password
Type your **new password** and press **Enter**. When you type a password, no characters are displayed on the screen. This is expected behavior.
### Confirm the new password
Re-type the new password when prompted, then press **Enter**. You should see a confirmation message:
```
password updated successfully
```
### Close the terminal
Type the following and press **Enter** to close the terminal, or log out of the session:
```bash
exit
```

## Conclusion

Changing your Linux password through a VNC desktop environment is quick and secure using the terminal. Always choose a strong password to protect your VPS from unauthorized access.
