Bug 12839

Summary: lightdm refuses password
Product: Mageia Reporter: Georges Eckenschwiller <paiiou>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: Normal CC: jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: lightdm-gtk-greeter CVE:
Status comment:

Description Georges Eckenschwiller 2014-02-21 15:07:34 CET
Description of problem:

New install of cauldron. Install is OK.

Reboot. The display manager is lightdm.

It refuses the password.
Noted: in a terminal (Ctrl Alt F2), the password is correct.

Reproducible: 

Steps to Reproduce:
Comment 1 Jani Välimaa 2014-02-21 17:01:54 CET
Activate passwd field with mouse and type your passwd. It seems first keypress is otherwise used to activate the field.

CC: (none) => jani.valimaa

Jani Välimaa 2014-02-21 17:11:22 CET

Source RPM: lightdm-1.9.8 => lightdm-gtk-greeter

Comment 2 Jani Välimaa 2014-02-21 17:27:56 CET
Which greeter are you using?

Please also test if you can reproduce this with other greeters.
Comment 3 Georges Eckenschwiller 2014-02-21 17:35:40 CET
(In reply to Jani Välimaa from comment #1)

Thank you for your answer.

> Activate passwd field with mouse and type your passwd. It seems first
> keypress is otherwise used to activate the field.

It does not work better.
In ligthdm.log, I was able to read WARNING:
Could not enumerate user data directory /var/lib/lightdl-data

And a little farther
Could not create user data directory /var/lib/lightdl-data/lightdm

What other information can be necessary?
Comment 4 Jani Välimaa 2014-02-21 17:40:17 CET
Check that an asterisk appears to passwd field when you type the first letter. If not, then type the first letter again. I've noticed that sometimes first key press isn't "registered".

Warnings are unrelated (and already fixed).
Comment 5 Georges Eckenschwiller 2014-02-21 18:00:30 CET
(In reply to Jani Välimaa from comment #2)
> Which greeter are you using?
lightdm-gtk2-greeter-1.8.1
> 
> Please also test if you can reproduce this with other greeters.
Yes error too with lightdl-another-gtk-greeter-1.0-6.3.4
Comment 6 Georges Eckenschwiller 2014-02-21 18:04:29 CET
(In reply to Jani Välimaa from comment #4)
> Check that an asterisk appears to passwd field when you type the first
> letter. If not, then type the first letter again. I've noticed that
> sometimes first key press isn't "registered".

Yes  asterisk appears to passwd field when Iu type the first letter.

> 
> Warnings are unrelated (and already fixed).
OK

In log, I also have:
Session pid=1303 Got 1 message(s) from PAM

But I do not know if it is important
Comment 7 Jani Välimaa 2014-02-21 18:08:02 CET
What happens after you enter the passwd? You get "Incorrect password" message?
Comment 8 Georges Eckenschwiller 2014-02-21 18:32:52 CET
(In reply to Jani Välimaa from comment #7)
> What happens after you enter the passwd? You get "Incorrect password"
> message?

Strange !
Most of the time, it returns simply to the screen of connection.
From time to time, I have the error message of password
Comment 9 Jani Välimaa 2014-02-21 18:38:52 CET
Check dmesg and ~/.xsession-errors after failed login attempt. Returning to greeter sounds like some problem with session you're trying to launch.
Comment 10 Georges Eckenschwiller 2014-02-21 19:50:38 CET
The refusal of the session is the consequence of another problem.

In reality, it is not the password which is refused. It is the session which does not open.
The comment 7 put me on the way.

I wanted to know what took place in the user directory.

There is no user directory !!!

I redo a new installation to see if the problem persists and I close this report

Status: NEW => RESOLVED
Resolution: (none) => INVALID