[Solved] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
elsaballerina
Posts: 3
Joined: 2025-01-11 00:24

[Solved] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot

#1 Post by elsaballerina »

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 ⬇️
Image

Thank you all in advance for your time and support on this. 💖


Cheers,
🩰Ballerina🩰
Last edited by elsaballerina on 2025-01-11 22:26, edited 1 time in total.

Aki
Global Moderator
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

#2 Post by Aki »

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
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

lindi
Debian Developer
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

#3 Post by lindi »

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?

User avatar
elsaballerina
Posts: 3
Joined: 2025-01-11 00:24

Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot

#4 Post by elsaballerina »

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
Hi Aki,

Thank you but the auto login must remain turned ON.


Cheers,
🩰 Ballerina 🩰

User avatar
elsaballerina
Posts: 3
Joined: 2025-01-11 00:24

Re: [Software] Debian 12 - Gnome - Remote Desktop - Authentication - Password Keeps Changing After Reboot

#5 Post by elsaballerina »

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?
Hi Lindi,

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.

lindi
Debian Developer
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

#6 Post by lindi »

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:

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
After that I have used the following to set RDP credentials:

Code: Select all

secret-tool store --label "GRD RDP creds" xdg:schema org.gnome.RemoteDesktop.RdpCredentials
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.


Post Reply