Quantcast
Channel: 懒得折腾
Viewing all articles
Browse latest Browse all 764

WARNING: gnome-keyring:: couldn’t connect to: /run/user/yyh/keyring-Gh7AV7/pkcs11: No such file or directory

$
0
0

The fix/workaround is as follows:

1. Do:

sudo apt-get install libpam-gnome-keyring

2. Logout
3. Login
4. When the pop-up for unlocking the default keyring comes up, do not simply type in the password to unlock. Instead, click “details” and select the “automatically unlock this keyring on login” radio button. Then enter your password to unlock the default keyring. You will now have linked the default keyring to the login keyring. Even if the pam module was installed, it is possible that the link was not established. In that case, the last portion of these instructions may still solve the problem.

THIS FIX MAKES THE gnome-keyring-pkcs11.so LOAD AT STARTUP FOR THE LXDE SESSION

This is one of them, now fixed….Warning message, it’s an error message cause it is not letting the command to run. ”WARNING: gnome-keyring:: couldn’t connect to: /tmp/keyring-<SOMEGENERATEDSTRING>/pkcs11: No such file or directory ”This is caused because of a module: gnome-keyring-pkcs11.so that is not being loaded when you log into an LXDE session. (this problem is analog to other sessions too, in this case I am using LXDE but could be KDE, GNOME etc… see the solution to understand how).

Here is the FIX!!!:
add “LXDE;” (without the double quotes and plus the semicolon, didn’t try without it)
to this file “/etc/xdg/autostart/gnome-keyring-pkcs11.desktop”  by editing it with whatever text editor you preffer, I’ll use “nano”
1 – in a terminal type (as root or with sudo): nano /etc/xdg/autostart/gnome-keyring-pkcs11.desktop
 

[Desktop Entry]

Type=Application
Name=Certificate and Key Storage
Comment=GNOME Keyring: PKCS#11 Component
Exec=/usr/bin/gnome-keyring-daemon –start –components=pkcs11
OnlyShowIn=GNOME;Unity;LXDE;
X-GNOME-Autostart-Phase=Initialization
X-GNOME-AutoRestart=false
X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-keyring
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.2.2
NoDisplay=true
X-Ubuntu-Gettext-Domain=gnome-keyring
2 – after editing, make sure you save the changes
3 – RESTART YOUR PC
CHEERS!


Viewing all articles
Browse latest Browse all 764

Trending Articles