public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Christian Pieczewski <christian@alien-park.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] gpg-agent beim XFCE-Start starten
Date: Wed, 04 Jan 2006 13:23:06 +0100	[thread overview]
Message-ID: <1136377387.21654.3.camel@localhost> (raw)
In-Reply-To: <20060104095839.5cfb8893@mail.sdamm.de>

Am Mittwoch, den 04.01.2006, 09:58 +0100 schrieb Sebastian Damm:
> Hi,
> 
> da mich das ständige Passphrase eingeben beim Mail versenden nervt, hab
> ich mir den gpg-agent installiert. Ich verwende XFCE4 und als
> Login-Manager gdm. Laut der Doku auf 
> 
> http://www.gentoo.de/doc/de/gnupg-user.xml
> 
> soll man in der ~/.xsession folgende Zeile hinzufügen:
> 
> eval "$(gpg-agent --daemon)"
> 
> Damit muss als Umgebungsvariable GPG_AGENT_INFO mit dem Socketnamen
> gesetzt werden. Ein Aufruf ohne eval gibt folgendes zurück:
> 
> GPG_AGENT_INFO=/tmp/gpg-${RAND}/S.gpg-agent:${PID}:1; export GPG_AGENT_INFO;
> 
> Allerdings passiert beim Einloggen so wie ob gar nix. Dabei ist es
> egal, ob die Datei ausführbar ist oder nicht, ob eine Shebang-Zeile
> vornedran steht oder nicht, sie wird scheinbar nicht beachtet.
> 
> Also hab ich es so gemacht, wie es bei XFCE4 so üblich ist. Ich hab
> eine ausführbare Datei in ~/Desktop/Autostart angelegt mit dem Inhalt:
> 
> #!/bin/bash
> 
> eval "$(gpg-agent --daemon)"
> 
> Jetzt wird beim Starten von XFCE auch der gpg-agent gestartet, aber die
> Variable wird nicht sitzungsweit geschrieben. Was ja eigentlich auch
> logisch ist, da mit der Datei eine bash gestartet wird und das
> export nur auf diese bash-Sitzung wirkt. Wenn ich jetzt eine Konsole
> öffne, ist GPG_AGENT_INFO ungesetzt.
> 
> Wie krieg ich es hin, dass die Variable sitzungsweit, also von allen in
> der Sitzung aufgerufenen Programmen, verfügbar ist?
> 
> Danke schonmal für die Lehrstunde. :)
> 
> Ciao
> Sebastian

Ist für dafür nicht die ~/.bashrc besser geeignet, um die Variable zu
setzten?

MFG Christian 

-- 
gentoo-user-de@gentoo.org mailing list



  parent reply	other threads:[~2006-01-04 12:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04  8:58 [gentoo-user-de] gpg-agent beim XFCE-Start starten Sebastian Damm
2006-01-04  9:07 ` Dirk Heinrichs
2006-01-04 11:08   ` Sebastian Damm
2006-01-04 12:27     ` Dirk Heinrichs
2006-01-04 14:14       ` Sebastian Damm
2006-01-04 15:17         ` Dirk Heinrichs
2006-01-04 18:52           ` Sebastian Damm
2006-01-04 11:56 ` Felix Schuster
2006-01-04 11:15   ` Sebastian Damm
2006-01-04 13:44     ` Felix Schuster
2006-01-04 13:33       ` Sebastian Damm
2006-01-04 12:23 ` Christian Pieczewski [this message]
2006-01-04 13:08   ` Sebastian Damm
2006-01-04 14:32     ` Christian Pieczewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1136377387.21654.3.camel@localhost \
    --to=christian@alien-park.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox