You are not logged in.
Hi guys,
I am not using a login manager but launch gnome via xinitrc. As such my keyring does not get unlocked automatically and Chromium asks me to unlock the keyring every time.
I though of adding the following to xinitrc but that did not the trick.
Is it overall possible to unlock the keyring using a manual start?
[orschiro@thinkpad ~]$ cat .xinitrc
#!/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
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
# Start GNOME Keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
# You probably need to do this too:
export SSH_AUTH_SOCK
export GPG_AGENT_INFO
export GNOME_KEYRING_CONTROL
export GNOME_KEYRING_PID
exec gnome-session-cinnamon
Last edited by orschiro (2013-06-23 05:43:45)
Offline
I digged into this another time and now there is a working solution which is working if the user password equals the keyring password.
It is described further in the wiki: https://wiki.archlinux.org/index.php/GN … at_Startup
There is nothing to be added to the ~/.xinitrc.
Offline