Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Gnome-keyring - unlocked

Message
Author
User avatar
dreamer
Forum Regular
Forum Regular
Posts: 200
Joined: Sun Oct 15, 2017 11:34 am

Re: Gnome-keyring - unlocked

#61 Post by dreamer » Fri Oct 05, 2018 8:07 pm

fehlix wrote:
Fri Oct 05, 2018 6:17 pm
Could you check "sometimes" with "Password and Keys" the login-keyring is locked or shows unlocked after logged in.
Are there more than one keyring there? Another keyring with name "login" which is not a login-keyring :confused:.
Is gnome-keyring-secrets starting in autostart?
Problem solved. Thanks, fehlix. :happy:
Secret Storage Service (GNOME Keyring: Secret Service)

Code: Select all

/usr/bin/gnome-keyring-daemon --start --components=secrets
This checkbox wasn't marked in Application Autostart. Evolution, Skype and Chrome now start without keyring prompt. I have only one keyring and it is unlocked.

Here is the updated procedure:
1. install libpam-gnome-keyring AND MAKE SURE the service is marked in Application Autostart
2. delete everything in "Password and Keys" application unless you have something important there
3. delete ~/.local/share/keyrings
4. reboot

User avatar
c4os
Forum Novice
Forum  Novice
Posts: 64
Joined: Tue Jun 19, 2018 12:28 pm

Re: Gnome-keyring - unlocked

#62 Post by c4os » Tue Oct 09, 2018 4:16 am

I'll get an error with the command:

Code: Select all

$ /usr/bin/gnome-keyring-daemon --start --components=secrets
** Message: couldn't access control socket: /run/user/1000/keyring/control:  Datei oder Verzeichnis nicht gefunden
"Datei oder Verzeichnis nicht gefunden" means file or directory not found.
Courious, there is a file called control:

Code: Select all

$ ls -l /run/user/1000/keyring/
insgesamt 0
srwxr-xr-x 1 c4os c4os 0 Okt  9 09:33 control
And ssh still asks me for the password of my ~/.ssh/id_rsa.
My look on the autostart commponents found an agent for ssh. But this wont also help.

Code: Select all

$ /usr/bin/gnome-keyring-daemon --start --components=ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
ssh still asks my password.
Maybe I need Gnome terminal to bring it to work?
But I want to keep my lovely Terminator.

Will my ssh and gpg keys removed from my system when I delete it's from password and encryption app?

The only one which works on my side with ssh is:

Code: Select all

$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/c4os/.ssh/id_rsa: 
Identity added: /home/c4os/.ssh/id_rsa (/home/c4os/.ssh/id_rsa)
Powered on: MX 17 Horizon x86_64
Hardware: Dell Latitude E4300 - CPU: Intel Core 2 Duo P9600 (2) @ 2.535GHz - Memory: 4GB
Style: Resolution: 1280x800 - WM Theme: Balou - Theme: Blackbird [GTK2/3] - Icons: Papirus-Dark [GTK2]

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1711
Joined: Wed Apr 11, 2018 5:09 pm

Re: Gnome-keyring - unlocked

#63 Post by fehlix » Tue Oct 09, 2018 5:19 am

c4os wrote:
Tue Oct 09, 2018 4:16 am
I'll get an error with the command:

Code: Select all

$ /usr/bin/gnome-keyring-daemon --start --components=secrets
** Message: couldn't access control socket: /run/user/1000/keyring/control:  Datei oder Verzeichnis nicht gefunden
That's a message is to inform that no running daemon exists, so it will create a new gnome-keyring control-soccket.
c4os wrote:
Tue Oct 09, 2018 4:16 am
ssh still asks my password.
Maybe I need Gnome terminal to bring it to work?
But I want to keep my lovely Terminator.
The keyring component starts from with autostart, no need for gnome terminal.
We need to look into this, to find a way to fix this.
c4os wrote:
Tue Oct 09, 2018 4:16 am
Will my ssh and gpg keys removed from my system when I delete it's from password and encryption app?
"Password and Keys" provides not only access to gnome-keyring, but also to your gpg-keyring and ssh-key's.
So yes you can remove within Password and Keys (Seahorse), your gnupg and ssh-key , if you like :happy:
c4os wrote:
Tue Oct 09, 2018 4:16 am
The only one which works on my side with ssh is:

Code: Select all

$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/c4os/.ssh/id_rsa: 
Identity added: /home/c4os/.ssh/id_rsa (/home/c4os/.ssh/id_rsa)
Yea, using ssh-add + ssh- agent seem to be the most reliable way to deal with single-sign-on ssh-authentication.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Software / Configuration”