You are not logged in.

#1 2016-05-04 21:12:04

waynew
Member
Registered: 2012-05-20
Posts: 33

Possible dbus errors? Can't launch gnome-terminal/create keyring

The problem:

⚘ gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 10

Also

⚘ secret-tool store --label='whatever' thing bob
Password:
** Message: Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login
secret-tool: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login

As far as I can tell, I have these things setup correctly.

⚘ cat /etc/pam.d/login
#%PAM-1.0

auth       required     pam_securetty.so
auth       requisite    pam_nologin.so
auth       include      system-local-login
auth       optional      pam_gnome_keyring.so
account    include      system-local-login
session    include      system-local-login
session    optional      pam_gnome_keyring.so   auth_start

⚘ cat /etc/pam.d/passwd
#%PAM-1.0
#password	required	pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
#password	required	pam_unix.so sha512 shadow use_authtok
password	required	pam_unix.so sha512 shadow nullok
password	optional	pam_gnome_keyring.so

And this is in my .xinitrc

eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK

Using Seahorse, I *also* can't create a Password Keyring. It just tells me "Couldn't add keyring - No such secret collection at path: /"

I *have* logged out since adding the PAM lines, though I have not restarted any services or rebooted my machine.

Any clue what I'm doing wrong, or where I should look for more info?

Offline

#2 2016-07-13 12:02:03

cee
Member
From: 47.214409, 7.538438
Registered: 2013-01-28
Posts: 3

Re: Possible dbus errors? Can't launch gnome-terminal/create keyring

Hi waynew,

Same problem here. I did not find any working solution yet.
If you get it working, I am very interested to know how.

Best regards,
cee

Offline

#3 2016-07-13 12:50:29

cee
Member
From: 47.214409, 7.538438
Registered: 2013-01-28
Posts: 3

Re: Possible dbus errors? Can't launch gnome-terminal/create keyring

I could fix it on my machine by sourcing `/etc/X11/xinit/xinitrc.d/50-systemd-user.sh` from ~/.xinitrc.
The solution was found on https://bugs.archlinux.org/task/46374 because `journalctl --this-boot --no-pager | grep -i WARNING` showed, that 'org.gnome.keyring.SystemPrompter' failed.

Offline

Board footer

Powered by FluxBB