Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

gnome-keyring-manager can't see gnome-keyring-daemon

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
drjimmy42
Guru
Guru
User avatar
Posts: 512
Joined: Mon Feb 03, 2003 10:24 pm
Location: Nashua, NH

gnome-keyring-manager can't see gnome-keyring-daemon

  • Quote

Post by drjimmy42 » Mon Nov 13, 2006 9:43 pm

Every time I go to my evolution exchange calendar I am prompted for my exchange password. In order to investigate I opened up gnome-keyring-manager which said "GNOME Keyring daemon is not running". And yet:

Code: Select all

~> ps -eF | grep keyring
jorussel 20812     1  0   642   792   0 16:36 pts/0    00:00:00 gnome-keyring-daemon
jorussel 20821 20466  0 23381 12236   0 16:36 pts/0    00:00:00 gnome-keyring-manager
After killing the daemon and starting it again it still doesn't work.

Has anyone else been having problems like this?
Top
littleman
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 114
Joined: Fri Oct 17, 2003 5:53 pm
Location: Paris

  • Quote

Post by littleman » Sat Nov 18, 2006 9:39 am

same problem here. I can't teach the keyring to use my wep key :(
La différence entre la théorie et la pratique, c'est qu'en théorie, y'a pas de différence entre la théorie et la pratique.
Top
saffsd
Tux's lil' helper
Tux's lil' helper
Posts: 139
Joined: Fri Mar 03, 2006 12:09 pm

  • Quote

Post by saffsd » Sat Mar 17, 2007 4:51 am

Make that a treble. No idea what's causing it.
Top
drjimmy42
Guru
Guru
User avatar
Posts: 512
Joined: Mon Feb 03, 2003 10:24 pm
Location: Nashua, NH

  • Quote

Post by drjimmy42 » Sun Mar 18, 2007 1:53 pm

I solved this, and MANY other weirdo problems dealing with application communication by giving up on my meticulously crafted xinit and xsession files and startx and finally just went with gdm to start my desktop. It takes care of a lot of dbus session initiation and other magical things that make gnome work better. All weird things like this were fixed after I did that. Good luck.
Top
Sachankara
l33t
l33t
User avatar
Posts: 696
Joined: Fri Jun 11, 2004 5:04 pm
Location: Stockholm, Sweden

Re: gnome-keyring-manager can't see gnome-keyring-daemon

  • Quote

Post by Sachankara » Sun Mar 18, 2007 5:50 pm

You have to export the variables gnome-keyring-daemon spits out when started. One way is by putting the following in .bash_profile :

Code: Select all

export $(gnome-keyring-daemon)
And this in .bash_logout :

Code: Select all

kill $GNOME_KEYRING_PID
Or you could install pam_keyring (you need the patch from http://bugs.gentoo.org ) and let pam start gnome-keyring-daemon, export the two necessary environment variables while unlocking all keyrings which have the same password as your login password.

Both of the mentioned methods should work with all window and desktop managers. So it's just not limited to Gnome.
Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak)
Top
drjimmy42
Guru
Guru
User avatar
Posts: 512
Joined: Mon Feb 03, 2003 10:24 pm
Location: Nashua, NH

  • Quote

Post by drjimmy42 » Sun Mar 18, 2007 7:54 pm

This is exactly my point. The number of environment variables/process/virgin sacrifices that are required to get all this stuff to work passed my tolerance for keep up with. I started letting gdm sacrifice whatever it wants and everything has been swell. gdm can be used to start kde and any other desktop you want as well.
Top
sdunne
n00b
n00b
Posts: 72
Joined: Tue Sep 02, 2003 2:30 am
Location: London, UK

Re: gnome-keyring-manager can't see gnome-keyring-daemon

  • Quote

Post by sdunne » Sat Jul 21, 2007 7:35 pm

Sachankara wrote:Or you could install pam_keyring (you need the patch from http://bugs.gentoo.org ) and let pam start gnome-keyring-daemon, export the two necessary environment variables while unlocking all keyrings which have the same password as your login password.
Any kind soul mind lending a hand here ?

This patch hasn't made it into portage yet, so I'm attempting to setup a local portage overlay and apply the patch myself. However I've never done this before and I'm out of my depth, despite scouring the wiki and here ;)

I'm working on the premise of keeping the local version at 0.0.8, since portage is supposed to prefer to use a local overlay when available. I'm running 2.6.21-gentoo-r4 on x86

Local Portage dir in /usr/local/portage and configured in /etc/make.conf
mkdir -p /usr/local/portage/sys-auth/pam_keyring

In /usr/local/portage/sys-auth/pam_keyring I have a copy of pam_keyring_0.0.8.ebuild from portage. I've also created a files subdir which contains the contents of /usr/portage/sys-auth/pam_keyring/files as well as the pam_keyring-0.0.8-sigchild_dfl.patch from bugzilla.

At t5his stage, after running ebuild pam_keyring_0.0.8.ebuild digest from /usr/local/portage/sys-auth/pam_keyring I can build the same as if I were building from portage, so I assume this means my overlay setup is OK.

Now I've edited the ebuild file so src_unpack is now

Code: Select all

 src_unpack() {
    unpack ${A}

    epatch ${FILESDIR}/${P}-fixes.patch
    epatch ${FILESDIR}/${P}-sigchild_dfl.patch
}
I then ran ebuild pam_keyring_0.0.8.ebuild digest again, However when I now attempt to emerge pam_keyring it barfs on applying the new patch as follows

Code: Select all

>>> Emerging (1 of 1) sys-auth/pam_keyring-0.0.8 to /
 * pam_keyring-0.0.8.tar.gz MD5 ;-) ...                                                                     [ ok ]
 * pam_keyring-0.0.8.tar.gz RMD160 ;-) ...                                                                  [ ok ]
 * pam_keyring-0.0.8.tar.gz SHA1 ;-) ...                                                                    [ ok ]
 * pam_keyring-0.0.8.tar.gz SHA256 ;-) ...                                                                  [ ok ]
 * pam_keyring-0.0.8.tar.gz size ;-) ...                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                        [ ok ]
 * checking auxfile checksums ;-) ...                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                                                      [ ok ]
 * checking pam_keyring-0.0.8.tar.gz ;-) ...                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking pam_keyring-0.0.8.tar.gz to /var/tmp/portage/sys-auth/pam_keyring-0.0.8/work
 * Applying pam_keyring-0.0.8-fixes.patch ...                                                               [ ok ]
 * Applying pam_keyring-0.0.8-sigchild_dfl.patch ...

 * Failed Patch: pam_keyring-0.0.8-sigchild_dfl.patch !
 *  ( /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-auth/pam_keyring-0.0.8/temp/pam_keyring-0.0.8-sigchild_dfl.patch-25755.out


!!! ERROR: sys-auth/pam_keyring-0.0.8 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_unpack
  ebuild.sh, line 753:   Called qa_call 'src_unpack'
  ebuild.sh, line 44:   Called src_unpack
  pam_keyring-0.0.8.ebuild, line 24:   Called epatch '/usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch'
  eutils.eclass, line 304:   Called die

!!! Failed Patch: pam_keyring-0.0.8-sigchild_dfl.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-auth/pam_keyring-0.0.8/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'
here's the contents of /var/tmp/portage/sys-auth/pam_keyring-0.0.8/temp/pam_keyring-0.0.8-sigchild_dfl.patch-25755.out

Code: Select all

***** pam_keyring-0.0.8-sigchild_dfl.patch *****

================================================

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch

================================================
patching file pam_keyring-0.0.8/src/pam_keyring.c
Hunk #6 FAILED at 331.
1 out of 8 hunks FAILED -- saving rejects to file pam_keyring-0.0.8/src/pam_keyring.c.rej
================================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch

================================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- pam_keyring-0.0.8/src/pam_keyring.c.orig	2007-02-10 21:11:38.000000000 +0100
|+++ pam_keyring-0.0.8/src/pam_keyring.c	2007-02-10 21:32:09.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
================================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch

================================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- pam_keyring-0.0.8/src/pam_keyring.c.orig	2007-02-10 21:11:38.000000000 +0100
|+++ pam_keyring-0.0.8/src/pam_keyring.c	2007-02-10 21:32:09.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
================================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch

================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- pam_keyring-0.0.8/src/pam_keyring.c.orig	2007-02-10 21:11:38.000000000 +0100
|+++ pam_keyring-0.0.8/src/pam_keyring.c	2007-02-10 21:32:09.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
================================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /usr/local/portage/sys-auth/pam_keyring/files/pam_keyring-0.0.8-sigchild_dfl.patch

================================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- pam_keyring-0.0.8/src/pam_keyring.c.orig	2007-02-10 21:11:38.000000000 +0100
|+++ pam_keyring-0.0.8/src/pam_keyring.c	2007-02-10 21:32:09.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
8 out of 8 hunks ignored
I tried adding an initial diff line to pam_keyring-0.0.8-sigchild_dfl.patch in the same style as in the -fixes patch but it still failed. The errors above are with the sigchild patch as per bugzilla without any changes.

So, what have I messed up this time ?? ;)
Stephen Dunne
Top
sdunne
n00b
n00b
Posts: 72
Joined: Tue Sep 02, 2003 2:30 am
Location: London, UK

  • Quote

Post by sdunne » Sat Aug 04, 2007 10:52 am

Weird...I did the same process again, and this time it worked :)
Stephen Dunne
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic