[openbox] pam-ssh or gnome-keyring?

Louis-David Mitterrand vindex+lists-openbox at apartia.org
Thu Apr 14 04:07:42 EDT 2011


On Fri, Apr 08, 2011 at 09:15:28AM +0200, Louis-David Mitterrand wrote:
> Hi,
> 
> I'm using gdm3 as login manager and a ~/.xsession file with 
> 
> 	exec openbox
> 
> to launch ob when using "session default" in gdm3.
> 
> When I login to gnome gnome-keyring automatically unlocks my ssh key.
> How can I have the same thing when logging in to straight openbox?

Answering my own question. Maybe worthy of a FAQ entry?

In order to use the gnome-keyring-daemon launched by
libpam-gnome-keyring and gdm3 (under debian at least) when using a
straight ~/.xsession file:

- open a "gnome" session with gdm

- launch a ssh session and unlock ssh key in the gnome-keyring dialog
  while checking the "unlock ssh key at login" (or something like that),

- add in ~/.xsession:

	eval $(gnome-keyring-daemon --start --components=ssh)

This configures the auto-launched gnome-keyring-daemon which otherwise
times out and exits.

- go back to your usual "system default" gdm session,

- your ssh key is unlocked,


More information about the openbox mailing list