installing gpg on Mandriva 2009
cpollock at embarqmail.com
Sat Jan 3 18:07:47 CET 2009
On Saturday 03 January 2009 09:21:58 Ingo Klöcker wrote:
> > Starting as root worked
> Please don't do anything as root. It is totally unnecessary, very
> dangerous and will only lead to confusion.
I only 'tried' it as root since you had entered #gpg-agent --daemon which on
my box is the root login. I stopped the root process and started it as 'chris'
where it is running now.
> > so I then entered eval "$(gpg-agent
> > --daemon)" and it now shows as a running process. Stopped and
> > restarted Kmail, I did not get the warning that gpg-agent wasn't
> > running this time which is good so I tried adding my signing key to
> > the identies configuration. The 'fetchnig keys' scroll bar still just
> > moves back and forth as if it can't find anything. I noticed that
> > kgpg was running as 'chris' so I stopped the root gpg-agent and
> > started as 'chris', I saw this:
> > [chris at localhost ~]$ eval "$(gpg-agent --daemon)"
> > can't connect to `/home/chris/.gnupg/log-socket': No such file or
> > directory
> > gpg-agent shows to be running under processes though.
> > When running kmail as root and just setting up a quick identity when
> > trying to fetch the keys there is no acitivty at all in the scrollbar
> You started gpg-agent as chris and kmail as root? This cannot work. See
> what I meant above with "It [...] will only lead to confusion."?
Again, I just did a quick check while gpg-agent was running as root to see if
kmail started as root would pickup the key. Kmail and gpg-agent are running as
'chris' and neither are running as root.
> What happens if you do the following as 'chris' (e.g. in Konsole)?
> [chris at localhost ~]$ killall gpg-agent
> [chris at localhost ~]$ killall kmail
> [chris at localhost ~]$ eval "$(gpg-agent --daemon)"
> [chris at localhost ~]$ kmail
[chris at localhost ~]$ killall gpg-agent
[chris at localhost ~]$ killall kmail
[chris at localhost ~]$ eval "$(gpg-agent --daemon)"
can't connect to `/home/chris/.gnupg/log-socket': No such file or directory
[chris at localhost ~]$ kmail
Apologies for the confusion
More information about the Gnupg-users