You are not logged in.
I'm using Lightdm to login to i3 and trying to use gnome policy kit for chromium password management . But chromium isn't handling my passwords .
tail -3 config && echo -e "\n\n" && cat keyring.sh
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id "/home/burhan/.config/i3/keyring.sh"
#exec_always --no-startup-id polybar
#!/usr/bin/env bash
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets)
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO
ps aux | grep gnome
burhan 3117 0.0 0.5 784884 31944 ? Sl 01:23 0:00 /usr/lib/gnome-online-accounts/goa-daemon
burhan 3125 0.0 0.1 307380 9280 ? Sl 01:23 0:00 /usr/lib/gnome-online-accounts/goa-identity-service
burhan 3732 0.0 0.1 210976 9612 ? Sl 01:27 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
burhan 3747 0.0 0.6 838540 37136 ? Sl 01:27 0:00 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
burhan 3761 0.0 0.1 221108 6104 ? Sl 01:27 0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
burhan 4429 0.1 0.6 630556 39084 ? Ssl 01:31 0:00 /usr/lib/gnome-terminal/gnome-terminal-server
burhan 4695 0.0 0.0 10760 2156 pts/1 S+ 01:35 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn gnome
pkexec
┌─[root] (01:36 am) {Mon Jan 23} |~|
└─╼ #
Any help is appreciated .
Last edited by BurhanDanger (2017-03-02 17:13:00)
Offline
That script will only export the variables to its child processes, not the environment as a whole. Please read:
http://mywiki.wooledge.org/ProcessManag … nheritance
http://mywiki.wooledge.org/DotFiles
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline
That script will only export the variables to its child processes, not the environment as a whole. Please read:
http://mywiki.wooledge.org/ProcessManag … nheritance
http://mywiki.wooledge.org/DotFiles
I'm not sure if I understand fully . Can you point me how to solve this ?
Here's what I did , changed .xinitrc and tried login with startx
#!/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/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
# Switching between desktop environments/window managers : pass "xinit gnome" or "startx ~/.xinitrc gnome"
session=${1:-i3}
case $session in
awesome ) exec awesome;;
bspwm ) exec bspwm;;
catwm ) exec catwm;;
cinnamon ) exec cinnamon-session;;
dwm ) exec dwm;;
enlightenment ) exec enlightenment_start;;
ede ) exec startede;;
fluxbox ) exec startfluxbox;;
gnome ) exec gnome-session;;
gnome-classic ) exec gnome-session --session=gnome-classic;;
i3|i3wm ) exec i3;;
icewm ) exec icewm-session;;
jwm ) exec jwm;;
kde ) exec startkde;;
mate ) exec mate-session;;
monster|monsterwm ) exec monsterwm;;
notion ) exec notion;;
openbox ) exec openbox-session;;
unity ) exec unity;;
virtualbox ) exec virtualbox;;
xfce|xfce4 ) exec startxfce4;;
xmonad ) exec xmonad;;
# No known session, try to run it as command
*) exec $1;;
esac
And this doesn't work
Offline
After Fresh reinstall gnome-keyring works nicely with chrome. Don't know what interfered with it previously .
EDIT : See https://wiki.archlinux.org/index.php/Ch … word_store and https://wiki.archlinux.org/index.php/ch … ord_prompt
Last edited by BurhanDanger (2017-08-29 10:34:47)
Offline