gajim is requesting you to set a new keyring password, instead of using the existing password
Trisquel 11
Disclaimer: I suspect that other packages may be affected as well.
This is an issue for both "Require my password to login", and "Log in automatically", during the Trisquel 11 installation:
-
sudo apt-get install gajim
-
Note that ~/.local/share/keyrings/ directory exists but is empty at this point.
-
Start gajim, it will ask you to add a new account (or to create an account that you later can add)
-
Add an account, this prompt will appear, which is asking you to set a password of your choice (which is easy to forget/confuse with the password for the Trisquel user):
-
These files will be generated and stored in ~/.local/share/keyrings/
default
Default.keyring
- Reboot the computer, and open gajim again. As you can see, the keyring password prompt will pop up. This is pretty annoying.
If you need to delete the gajim related directories and files to reproduce this issue:
- It is important to delete only the files in ~/.local/share/keyrings/ but not the directory itself, because that will cause multiple password prompts to appear otherwise.
- Delete these directories:
~/.config/gajim/
~/.cache/gajim/
~/.local/share/gajim/
Ubuntu 22.04
Valid for:
- Ubuntu: ubuntu-22.04-desktop-amd64.iso
- Ubuntu + MATE: ubuntu-22.04-desktop-amd64.iso + the package ubuntu-mate-desktop (choose LightDM as display manager during the installation)
- Ubuntu Server + MATE: ubuntu-22.04.2-live-server-amd64.iso + apt-get install lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings mate-desktop-environment-extras mate-desktop-environment
These files are generated automatically in ~/.local/share/keyrings/ (both if you selected "Log in automatically" or "Require my password to login" during the ubiquity install) :
login.keyring
user.keystore
Ubuntu 22.04, "Require my password to login"
When you are adding a new account to Gajim, you don't need to enter the password for the Ubuntu user, since you are logged in.
Ubuntu 22.04, "Log in automatically"
apt-get -y install ubuntu-mate-desktop gnome-system-tools # "Users and Groups" (gnome-system-tools) was removed from MATE in 22.04, so you need to install it manually: https://ubuntu-mate.community/t/cant-find-user-and-groups/25323/3
Settings: Control Center -> Users and Groups: Click on your user, click on Password, and select "Don't ask for password on login"
Each time you have automatically logged in to MATE, the first time you are opening gajim, the password prompt is asking you to enter your Ubuntu user password to get access to gajim: