在GNU/Linux(我使用的是debian及fedora)系统中开启自动登陆后,经常弹出以下提示:
The login keyring did not get unlocked when you logged into your computer
为此,我逛了逛internet,找到下面的解决办法,因为只做了内容的记录,并适当修改,参考的网页未记录,目前已经无法给出原文链接,所以,抱歉了……
If you login manually, On Ubuntu/Mint(GNU/Linux)the "Login" keyring is on install configured with the same password as your user login password and unlocked automatically on login. But, If you login automatically (or have changed your user login password post-install) this does not happen any more.
In the case of a changed user login password the best remedy is also changing the Login-keyring password to again match. For those who want to login automatically:
set the password for the keyring to an empty password
Be warned that this will make your keyring accessible without a password. Period. You don't have to be logged in to view it
With that being said,
I think the simplest way is to set the password for the keyring to an empty password -- you will not be prompted for a password then:
Open Applications -> Accessories -> Password and Encryption Keys
Right-click on the "login" keyring
Select "Change password"
Enter your old password and leave the new password blank
Press ok, read the security warning, think about it and if you still want to get rid of this dialog, choose "use unsafe storage".
Again, as the message says: This will expose all your passwords (e.g. email passwords) that you chose to save in the default keyring to anyone using your computer or having access to your files and is therefore not recommended.
gnome开启自动登陆
依次打开settings-Users-AutomaticLogin,需要输入root用户口令开启 (命令未测试:gnome setting user autologin on)
或者
vi /etc/gdm/custom.conf
AutomaticLoginEnable=True
AutomaticLogin=username
但是 keyring不会自动解锁,打开某些程序时会提示:The login keying did not get unlocked when you logged into you computer
解决办法 :
删除 /home/username/.local/share/keyrings/* (这也会删除个人存储在此的其它密码?)
然后重新打开出现上述提示的程序,不填写密码(就是上文提到的空密码,不安全),全部continue 然后就可解决了