[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] pam-ssh or gnome-keyring?
From:       vindex+lists-openbox () apartia ! org (Louis-David Mitterrand)
Date:       2011-04-14 8:07:42
Message-ID: 20110414080741.GA14110 () apartia ! fr
[Download RAW message or body]

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,

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic