Lubuntu, won't take system password, always prompts for keyring

Bug #1034108 reported by karl anliot
46
This bug affects 13 people
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Invalid
Undecided
Unassigned
lubuntu-meta (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Using Lubuntu 12.04, ubuntu-one is a hassle, because it always prompts for this keyring, which isn't intuitive at all since it won't take the keyring password. It should either tell the user it needs the ubuntu-one password, or it should load the keyring by default.
To reproduce, loginto lubuntu when ubuntu-one is installed..

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntuone-client 3.0.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Tue Aug 7 14:22:29 2012
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Alpha amd64 (20120205)
PackageArchitecture: all
SourcePackage: ubuntuone-client
UbuntuOneSyncdaemonExceptionsLog:

UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
karl anliot (kanliot) wrote :
Revision history for this message
Roberto Alsina (ralsina) wrote :

Hello, and thanks for the bug report. I am not sure I understand it though. You are saying in Lubuntu you get a prompt asking for the GNOME keyring password but which doesn't accept your GNOME keyring password?

Changed in ubuntuone-client (Ubuntu):
status: New → Incomplete
Revision history for this message
karl anliot (kanliot) wrote :

Sorry for the confusion: this is the text the dialog box that it pops up:
Enter password for keyring 'Default' to unlock

An application wants access to the keyring 'Default', but it is locked

Changed in ubuntuone-client (Ubuntu):
status: Incomplete → In Progress
status: In Progress → New
Revision history for this message
karl anliot (kanliot) wrote :

when logging into lubuntu-one for the first time, it asks for a keyring passphrase, pretty sure this is the password it wants

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
Revision history for this message
tm-o (tm-o) wrote :

I have had this same issue since I installed Ubuntu One in lubuntu (12.04).

I set same password for log in and for this 'Default' keyring as I read from somewhere that then the keyring would be unlocked at log in automatically without prompting the password dialog. This didn't work and I suspect that LXDE in lubuntu doesn't support gnome-keyring.

Revision history for this message
Alejandro J. Cura (alecu) wrote : Re: [Bug 1034108] Re: Lubuntu, won't take system password, always prompts for keyring

On Thu, Sep 6, 2012 at 2:56 AM, Timo Mikkilä <email address hidden> wrote:
> I set same password for log in and for this 'Default' keyring as I read
> from somewhere that then the keyring would be unlocked at log in
> automatically without prompting the password dialog. This didn't work
> and I suspect that LXDE in lubuntu doesn't support gnome-keyring.

The keyring that is unlocked automatically is the one named "login".

I don't use Lubuntu, but you may try these steps to see if they work for you:

1) create a new keyring named "login", and use your login password to secure it.
2) right click on the new keyring, and set it as the default keyring.
3) remove the Ubuntu One password from the "Default" keyring, and try
logging into Ubuntu One again.

At this point the new password should be stored in the login keyring.
You can try it by logging out and back in.
Please tell me if this worked or not.

Revision history for this message
dobey (dobey) wrote :

On Thu, 2012-09-06 at 12:05 +0000, Alejandro J. Cura wrote:
> On Thu, Sep 6, 2012 at 2:56 AM, Timo Mikkilä <email address hidden> wrote:
> > I set same password for log in and for this 'Default' keyring as I read
> > from somewhere that then the keyring would be unlocked at log in
> > automatically without prompting the password dialog. This didn't work
> > and I suspect that LXDE in lubuntu doesn't support gnome-keyring.
>
> The keyring that is unlocked automatically is the one named "login".

Actually, it is whatever keyring is set as the "default" in
gnome-keyring, which is unlocked at log-in. This however, also requires
that the system being used launches gnome-keyring properly as part of
the user session. I don't believe LXDE does this, just as KDE and others
don't.

LXDE will need to add proper integration, or provide its own keyring
following the FD.o secrets storage spec API. Otherwise users of LXDE who
wish to use applications which use the FD.o secrets API will have to use
some other keyring, and deal with having to enter the keyring password
when necessary, or set the keyring password to be an empty string and
store the keyring insecurely.

Revision history for this message
tm-o (tm-o) wrote :

I just solved my problem. There is option to unlock keyring at log-in after all.

1. Log-in to lubuntu.
2. When password dialog shows up, there is this Details button. Press the button to view some more options.
3. Dialog contans now option "Automatically unlock this keyring whenever I'm locked in". This adds unlocking password to "login". keyring and gnome-keyring handles automatically unlocking of other keyring when needed.

This can be done also through "Passwords and Keys" program that manages keyrings. Right click the keyring you want to unlock and password dialog opens. Or if keyring is already unlocked, it must be first locked and then unlocked.

If the option "Automatically unlock this keyring whenever I'm locked in" is grayed out, the "login" keyring is locked and it must be unlocked first e.g. through "Passwords and Keys" program.

Revision history for this message
Bernard (bvv001) wrote :

Confirming that this still happens on Lubuntu 12.10. Ubuntu One insists on storing its information in keyring 'default', which then needs to be unlocked separately after login. There is an entry on this in the Ubuntu One FAQ ( https://one.ubuntu.com/help/faq/how-do-i-get-rid-of-the-keyring-password-prompt/ ), but it doesn't apply here - I am not using auto-login, and the keyring password is the same as the login one.

tm-o's solution above does not work either: there's no 'Details' button on the password dialog. And the 'Passwords and Keys' program (run 'seahorse' from terminal) offers no option to unlock on login either, as far as I can see.

I already tried deleting the default keyring (result: U1 stops working), reinstalling U1 (result: default keyring is created again), but to no avail: every time I log in, the 'unlock keyring' dialog is awaiting me.

Revision history for this message
tm-o (tm-o) wrote :

I think I found the real solution this time :). Lubuntu is missing libpam-gnome-keyring package by default. After installing it, I got automatic unlock feature working in a fresh installation of Lubuntu 12.04. So my new instructions:

1. install lib-pam-gnome-keyring package: sudo apt-get install libpam-gnome-keyring
2. log out from Lubuntu
3. log in to Lubuntu --> password dialog opens up
4. press the ">Details:" text in dialog to show more options
5. select option "Automatically unlock this keyring whenever I'm locked in"
6. write correct password and unlock the keyring

After libpam-gnome-keyring package is installed, "login" keyring is created at login. Unlike dobey wrote, the "login" keyring seems to be the only keyring that is unlocked at log-in, even if it is not the default one. Other keyrings are unlocked automatically only if "login" keyring contains their passwords.

dobey (dobey)
affects: ubuntuone-client (Ubuntu) → gnome-keyring (Ubuntu)
Revision history for this message
Bernard (bvv001) wrote :

It appears tm-o got it right: I installed libpam-gnome-keyring on my Lubuntu 12.10, re-logged in, and now the auto-unlock checkbox was present. Ticked it, entered password, and the dialog box did not appear anymore on my next login. Thanks a load!

Revision history for this message
Tom Fields (udzelem) wrote :

Guys, this bug is open for almost two years and a solution is known.

Why doesn't this get fixed/closed?

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

This is not fixed because Ubuntu One for cloud storage, etc. is gone: https://login.ubuntu.com/one-redirect

Changed in gnome-keyring (Ubuntu):
status: Confirmed → Invalid
Changed in lubuntu-meta (Ubuntu):
status: New → Invalid
Revision history for this message
Bill Miller (wbmilleriii) wrote :

This problem still exists in Lubuntu 14.04 LTS but tm-o's fix works. Thanks tm-o!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.