You are not logged in.

#1 2020-05-23 16:46:35

doums
Member
Registered: 2019-03-15
Posts: 39

Gnome keyring issue when su

Hi,

I have a problem related to GNOME Keyring.
I use the display manager LightDM. Gnome keyring works well, but as soon as I run su to log in root I get several warnings about bad permissions and all my env variable are printed:

~ ❯❯❯ su
Mot de passe :
** Message: 18:35:18.500: couldn't access control socket: /run/user/1000/keyring/control: Bad permission
** Message: 18:35:18.500: couldn't connect to dbus session bus: Impossible de se connecter : Bad permission
** Message: 18:35:18.500: The gnome-keyring control directory cannot be accessed: /run/user/1000/keyring: Bad permission

** (gnome-keyring-daemon:17112): WARNING **: 18:35:18.500: couldn't create socket directory: /run/user/1000/keyring-VITAL0: Bad permission

** (gnome-keyring-daemon:17112): WARNING **: 18:35:18.500: couldn't bind to control socket: /run/user/1000/keyring-VITAL0/control: Bad permission

Also I noticed this in my journalctl:

lightdm[601]: gkr-pam: unable to locate daemon control file

Last edited by doums (2020-05-23 22:54:17)

Offline

#2 2020-05-24 16:02:51

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: Gnome keyring issue when su

Also I noticed this in my journalctl:
lightdm[601]: gkr-pam: unable to locate daemon control file

Does it correct later in the journal?

May 23 15:02:58 arch-pelago lxdm-session[823]: gkr-pam: unable to locate daemon control file
May 23 15:02:58 arch-pelago lxdm-session[823]: gkr-pam: stashed password to try later in open session
May 23 15:02:58 arch-pelago lxdm-session[823]: pam_unix(lxdm:session): session opened for user pelago by (uid=0)
May 23 15:02:58 arch-pelago lxdm-session[823]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring

Have a look here?


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB