You are not logged in.

#1 2012-07-25 01:14:52

mrpringle
Member
Registered: 2009-07-11
Posts: 74

having slim automatically unlock gnome-keyring

I have installed xfce 4.10
slim 1.3.4-2
gnome-keyring 4.3.1-1

I've followed the instructions here: https://wiki.archlinux.org/index.php/SL … me_Keyring however I can't get the keyring to automatically unlock upon login - I have to manually unlock it after login with my password.

Any ideas or troubleshooting tips would be appreciated.

Offline

#2 2012-07-25 01:48:05

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: having slim automatically unlock gnome-keyring

Not sure if it helps but I start gnome-keyring in my .xinitrc (openbox). This is it:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

export BROWSER="chromium"
/usr/bin/gnome-keyring-daemon --start --components=gpg
/usr/bin/gnome-keyring-daemon --start --components=pkcs11
/usr/bin/gnome-keyring-daemon --start --components=secrets
/usr/bin/gnome-keyring-daemon --start --components=ssh

exec ck-launch-session dbus-launch openbox-session

Offline

#3 2012-07-25 01:51:35

mrpringle
Member
Registered: 2009-07-11
Posts: 74

Re: having slim automatically unlock gnome-keyring

Thanks for the reply. I tried adding those lines to my .xinitrc but then I had the problem none of my applications were able to connect to the gnome-keyring at all.

Offline

#4 2012-07-25 01:57:36

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: having slim automatically unlock gnome-keyring

Yeah I'm not sure then. Maybe this way doesn't work with slim. The way I used to do it is this ((startup script before everything else) for evolution email):

#! /bin/bash
eval \`gnome-keyring-daemon\`
export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
exit

If that doesn't work I don't know anything else.

Last edited by dodo3773 (2012-07-25 01:58:12)

Offline

Board footer

Powered by FluxBB