Why do I get this warning from Gnome keyring in Xubuntu?

38,452

Solution 1

Under a Bourne shell, you can turn off gnome-keyring and get rid of this warning by running:

unset GNOME_KEYRING_CONTROL

to remove the gnome keyring path from your environment variables. You can also put this command at the end of your ~/.bashrc file.

Under a C shell, the equivalent command is:

unsetenv GNOME_KEYRING_CONTROL

and the command can be put at the end of your ~/.cshrc file.

Solution 2

Another way to get rid of that pesky warning (I got this in XFCE):

The trick is to add "LXDE;XFCE;" on the line with OnlyShowIn= (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 prefer, 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;XFCE;
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 computer.

Share:
38,452

Related videos on Youtube

winchendonsprings
Author by

winchendonsprings

Updated on September 18, 2022

Comments

  • winchendonsprings
    winchendonsprings almost 2 years

    I have installed xubuntu-desktop ontop of a stock Ubuntu installation.

    When using ssh, or more specifically git, I always get this warning

    WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-IVaeDO/pkcs11: No such file or directory
    

    I have done a fair amount of googling to disable/enable the proper services at boot time, but so far I always end up with this error.

    Any insight on completely removing gnome-keyring, and it's downfalls, OR integrating gnome-keyring into xubuntu/xfce would be awesome.