Public bug reported:

Binary package hint: xfce4-session

I'd like to use the ssh-agent functionality provided by gnome-keyring-
daemon, but i can't get it to work for the following reason.

During login, the keyring-daemon is started via dbus, right? If it is started 
by dbus, then that might as well be the source of my trouble: 
http://live.gnome.org/GnomeKeyring/RunningDaemon
It says, that launching gnome-keyring-daemon from dbus only provides "basic 
password operations" without further functionality like ssh-agent. Bug #357346 
sounds, as if xfce4-session indeed relies on dbus to start the keyring-daemon.

However starting the daemon consists of two steps, the second of which
is running "gnome-keyring-daemon --start" and including the printed
information into the environment. In /etc/xdg/autostart there are three
file each of which controls a single feature of gnome-keyring-daemon.
Alltogether they are started by xfce4-session, but their printed
variables are not included into the env, as they are not surrounded by
eval ``. Therefore, the variable definitions show up in ~/.xsession-
errors.

I think i read some time ago, that gnome-keyring-daemon was capable of
registering the environment-variables in the session via dbus. However
this also doesn't happen, which means, SSH_AUTH_SOCK does not get set.

However, in all this mess, GNOME_KEYRING_PID gets set. If i run ' eval
`gnome-keyring-daemon --start` ' in .xprofile, i break the password
storage, which indicates, that this seems to happen before dbus (but
after pam of course).

If i run 
eval `gnome-keyring-daemon --start
export GNOME_KEYRING_CONTROL SSH_AUTH_SOCK
then the ssh-agent is working in this shell, but of course nowhere else.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xfce4-session 4.6.1-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Fri Apr 16 18:35:39 2010
InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100415)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: xfce4-session

** Affects: xfce4-session (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
xfce4-session fails to include variables into environment output by 
gnome-keyring-daemon --start
https://bugs.launchpad.net/bugs/564831
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to