It's 2014, this bug is already 2 years old, and hasn't been fixed yet, 
at least on Xubuntu 12.04.  Fixing it seems trivial.

Possible solutions:

1. If the package gnome-keyring is not needed on Xubuntu (or other 
   affected Ubuntu flavors), it should be considered to be removed from 
   it as a default package so that other applications don't try to 
   connect to it.

2. If the package gnome-keyring is required, it should be fixed so that 
   it runs properly on all the Ubuntu flavors that use it.  The problem 
   seems to be in /etc/xdg/autostart/gnome-keyring-pkcs11.desktop which 
   is only enabled for Gnome and Unity.
   2.1. Fix the line OnlyShowIn=GNOME;Unity;
        2.1.1. by appending XFCE;KDE;LXDE; and any other DE that may 
               need or use pkcs11.
        2.1.2. by deleting or commenting out that line so that all DEs 
               may use it (if anything, add a NotShowIn=... blacklist 
               for DEs in which this may cause problems).
   2.2. Make XFCE include an identical .desktop file with 
        OnlyShowIn=XFCE; in it, so that the fix for XFCE is independent 
        from other DEs.
   2.3. Make XFCE load all Gnome services at startup by default (which 
        may also include some unwanted stuff and thus may not be a good 
        idea).

3. If the package gnome-keyring is required due to dependencies, but 
   the service pkcs11 is not needed for it and other applications to 
   run properly, the warning message it displays should be removed.
   3.1. Making gnome-keyring not display that warning.
   3.2. Making gnome-keyring inform applications that the service 
        pkcs11 is unavailable.
   3.3. Making all applications that use gnome-keyring check whether 
        the service pkcs11 is available before requesting it (which 
        would imply fixing them one by one, which may be a bad idea).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/932177

Title:
  XFCE (and other non-GNOME) desktops do not initialise gnome-keyring
  correctly / WARNING: gnome-keyring:: couldn't connect to PKCS11

Status in GNOME keyring services:
  Fix Released
Status in Xfce4 session manager:
  Unknown
Status in Xubuntu:
  New
Status in “gnome-keyring” package in Ubuntu:
  Invalid
Status in “kde-workspace” package in Ubuntu:
  Fix Released
Status in “xfce4-session” package in Ubuntu:
  Fix Released
Status in “gnome-keyring” package in Debian:
  New
Status in “gnome-keyring” package in Fedora:
  Unknown
Status in “gnome-keyring” package in openSUSE:
  Fix Released

Bug description:
  precise + fluxbox (without gnome-settings-daemon) Postler when sending
  a message writes:

  Failed to send a message
  WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-rof1VB/pkcs11: No 
such file or directory

  In gnome-system-monitor:
  /usr/bin/gnome-keyring-demon --start --foreground --components=secrets
  /usr/bin/gnome-keyring-demon --daemonize --login

  with manual start this: OK
  /usr/bin/gnome-keyring-daemon --start --components=pkcs11

  Is it possible to add a string key '--components=pkcs11', so that the 
gnome-system-monitor was:
  /usr/bin/gnome-keyring-demon --start --foreground --components=secrets 
--components=pkcs11

  thanks in advance...

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-keyring 3.2.2-2ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
  Uname: Linux 3.2.0-15-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Tue Feb 14 17:47:35 2012
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=ru_UA.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-keyring
  UpgradeStatus: Upgraded to precise on 2012-02-10 (3 days ago)
  mtime.conffile..etc.xdg.autostart.gnome.keyring.gpg.desktop: 
2012-02-14T14:17:23.632015
  mtime.conffile..etc.xdg.autostart.gnome.keyring.pkcs11.desktop: 
2012-02-14T14:17:23.632015
  mtime.conffile..etc.xdg.autostart.gnome.keyring.secrets.desktop: 
2012-02-14T14:17:23.632015
  mtime.conffile..etc.xdg.autostart.gnome.keyring.ssh.desktop: 
2012-02-14T14:17:23.636015

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-keyring/+bug/932177/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to