Hi Everyone,
I am new to Debian and I would really need some help with this so called Gnome Remote Desktop that keeps changing the password after each reboot.
The "gnome-keyring" has been completely uninstalled
Auto Login is ON
Running the Desktop GUI GNOME
Running Debian 12 OS
Can I please get help, step by step on how to keep a "Static" password (stop it from changing the password)?
See the image below
Thank you all in advance for your time and support on this.
Cheers,
Ballerina
[Solved] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
- elsaballerina
- Posts: 3
- Joined: 2025-01-11 00:24
[Solved] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
Last edited by elsaballerina on 2025-01-11 22:26, edited 1 time in total.
-
- Global Moderator
- Posts: 4166
- Joined: 2014-07-20 18:12
- Location: Europe
- Has thanked: 121 times
- Been thanked: 559 times
Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
Hello,
Perhaps you need to reinstall the gnome keyring software, make sure it runs and disable the auto login (if enabled). See: Hope this helps
Perhaps you need to reinstall the gnome keyring software, make sure it runs and disable the auto login (if enabled). See: Hope this helps
-
- Debian Developer
- Posts: 621
- Joined: 2022-07-12 14:10
- Has thanked: 2 times
- Been thanked: 124 times
Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
The VNC password is indeed saved in your keyring. Keyring is encrypted with your login password. If you use automatic login then I guess the keyring won't be decrypted?
- elsaballerina
- Posts: 3
- Joined: 2025-01-11 00:24
Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
Hi Aki,Aki wrote: 2025-01-11 11:16 Hello,
Perhaps you need to reinstall the gnome keyring software, make sure it runs and disable the auto login (if enabled). See: Hope this helps
Thank you but the auto login must remain turned ON.
Cheers,
Ballerina
- elsaballerina
- Posts: 3
- Joined: 2025-01-11 00:24
Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
Hi Lindi,lindi wrote: 2025-01-11 11:19 The VNC password is indeed saved in your keyring. Keyring is encrypted with your login password. If you use automatic login then I guess the keyring won't be decrypted?
Ah yes, I've read somewhere about syncing it. Something to do with re-entering the logging password and leaving blank the "new password" field but the steps weren't clear and there was no confirmation if that worked or not.
I've reached the end of the world wide web without a successful solution. Clearly I am not the only one enquiring about this, having the same problem.
There should be an option at the remote saying "Do you want a static password set?". I mean, who thought of this? I do not understand. Are you to guess the pass on a reboot or power failure? There is no guide on how to view, retrieve the password via SSH either!
At this point, I would take the following two solution options:
How to enable static password?
How to retrieve the dynamic password via SSH?
Any clues?
Thank you all and have a wonderful day!
Cheers,
Ballerina
Last edited by elsaballerina on 2025-01-11 21:07, edited 4 times in total.
-
- Debian Developer
- Posts: 621
- Joined: 2022-07-12 14:10
- Has thanked: 2 times
- Been thanked: 124 times
Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot
This is not very elegantly supported in Debian 12 but Debian 13 should make it much easier since gnome and gdm3 support headless remote desktops in Debian 13.
I have used something like the following to unlock gnome-keyring over SSH:
After that I have used the following to set RDP credentials:
Note that if you want to do the whole setup over SSH you also need to use winpr-makecert to generate RDP certificates and use dconf to configure org/gnome/desktop/remote-desktop/rdp to point to those files and then start the gnome-remote-desktop.service user service.
I have used something like the following to unlock gnome-keyring over SSH:
Code: Select all
export GNOME_KEYRING_CONTROL=/run/user/$UID/keyring
wget https://codeberg.org/umglurf/gnome-keyring-unlock/raw/branch/main/unlock.py
chmod +x unlock.py
./unlock.py
Code: Select all
secret-tool store --label "GRD RDP creds" xdg:schema org.gnome.RemoteDesktop.RdpCredentials
- elsaballerina
- Posts: 3
- Joined: 2025-01-11 00:24