Subject: keyring is not not unlocked

From: Saša Janiška <[email-masked]>
Date: Fri, 7 Feb 2020 13:48:46 +0100

Package: slim
Version: 1.3.6-5.1

Hello, I do not have auto-login enabled and created default keyring with the
same passwd as for my login, but the keyring is not unlocked automatically
after login although I've enabled launching of 'GNOME services'

According to e.g. Arch's wiki
(https://wiki.archlinux.org/index.php/SLiM#Gnome_Keyring): "Note: slim 1.3.5-1
ships with /etc/pam.d/slim preconfigured to unlock keyring upon login. Users no
longer need to modify the file."

Any hint?

I'm on Ceres.

$ uname -a
Linux atmarama 5.4.0-3-amd64 #1 SMP Debian 5.4.13-1 (2020-01-19) x86_64 GNU/Linux
Sincerely,
Gour

-- 
Bewildered by the modes of material nature, the ignorant fully
engage themselves in material activities and become attached. But
the wise should not unsettle them, although these duties are inferior
due to the performers' lack of knowledge.

---

From: Mark Hindley <[email-masked]>
Date: Mon, 10 Feb 2020 13:29:46 +0000

> after login although I've enabled launching of 'GNOME services'

Are you using consolekit or elogind for session managment?

Mark

---

From: Mark Hindley <[email-masked]>
Date: Mon, 10 Feb 2020 16:11:50 +0000

Version: 1.3.6-5.1+devuan6

On Mon, Feb 10, 2020 at 04:15:03PM +0100, Saša Janiška wrote:
> Mark Hindley <[email-masked]> writes:
> 
> I was using consolekit and 'solved' the problem by changing display
> manager to lightdm and using elogind.

OK.

I am going to close this since you had Debian's version of slim installed
(1.3.6-5.1) rather than Devuan's (1.3.6-5.1+devuan6).

As far as I can tell Devuan's version works correctly in this regard.

Thanks

Mark

---

From: Mark Hindley <[email-masked]>
Date: Tue, 11 Feb 2020 18:17:30 +0000

Control: reopen -1 1.3.6-5.1+devuan6

On Mon, Feb 10, 2020 at 09:02:33PM +0100, Saša Janiška wrote:
> > In your bug report you said version 1.3.6-5.1. Is that not correct?
> >
> > root@4006423851c9:~# apt policy slim
> > slim:
> >   Installed: (none)
> >   Candidate: 1.3.6-5.1+devuan6
> >   Version table:
> >      1.3.6-5.1+devuan6 500
> >         500 http://deb.devuan.org/merged ceres/main amd64 Packages
> 
> Here I what I still have installed:
> 
> slim/unstable,now 1.3.6-5.1+devuan6 amd64 [installed]

OK, but that wasn't the version number you put in the bug report.

> and it was not unlocking keyring, although it is supposed to do so.

Did you try slim with elogind?

Mark

---

From: Mark Hindley <[email-masked]>
Date: Tue, 11 Feb 2020 18:39:45 +0000

package slim
reopen 391 =
found 391 1.3.6-5.1+devuan6
notfound 391 1.3.6-5.1
thanks

---

From: Saša Janiška <[email-masked]>
Date: Tue, 11 Feb 2020 21:37:07 +0100

> Did you try slim with elogind?

Yes, but that didn't work and on IRC I was advised to follow release
notes which states that slim+consolekit & lightdm+elogind are
recommended combinations.

Sincerely,
Gour

-- 
As the embodied soul continuously passes, in this body,
from boyhood to youth to old age, the soul similarly passes
into another body at death. A sober person is not bewildered
by such a change.

---

From: Saša Janiška <[email-masked]>
Date: Tue, 11 Feb 2020 21:39:58 +0100

> Did you try slim with elogind?

Forgot to say, that when I tried slim+elogind, then Thunar was unable to
mount external USB HDD.

Sincerely,
Gour

-- 
As a strong wind sweeps away a boat on the water,
even one of the roaming senses on which the mind
focuses can carry away a man's intelligence.

---

From: Mark Hindley <[email-masked]>
Date: Wed, 12 Feb 2020 11:14:11 +0000

Gour,

> > Did you try slim with elogind?

Does that mean that the keyring unlocking worked for slim+elogind?

> Forgot to say, that when I tried slim+elogind, then Thunar was unable to

That is a different issue. Please open a separate report about it and include
details of all the policykit packages you have installed.

Mark

---

From: Saša Janiška <[email-masked]>
Date: Thu, 13 Feb 2020 17:23:59 +0100

> Does that mean that the keyring unlocking worked for slim+elogind?

Now I tried again and it seems that it does work. :-)

> details of all the policykit packages you have installed.

Don't know how/why, but Thunar now auto-mounted my external HDD, so now
reverting to slim+elogind and can uninstall lightdm. :-D

Sincerely,
Gour

-- 
He who is regulated in his habits of eating, sleeping, recreation
and work can mitigate all material pains by practicing the yoga system.

---

From: Mark Hindley <[email-masked]>
Date: Thu, 13 Feb 2020 17:23:06 +0000

Control: notfound -1 1.3.6-5.1+devuan6

> reverting to slim+elogind and can uninstall lightdm. :-D

Thanks. So that is all resolved then.

Closing.

Mark