| Summary: | Unable to login with lightdm | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | martyn vidler <martynvidler> |
| Component: | RPM Packages | Assignee: | Jani Välimaa <jani.valimaa> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, eeeemail, jani.valimaa, mageia, martynvidler, tremyfr |
| Version: | Cauldron | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | lightdm | CVE: | |
| Status comment: | |||
| Attachments: |
lightdm log
x-0-greeter .Xauthority .xsessions-errors This is from test user .xsession-errors |
||
|
Description
martyn vidler
2013-10-05 00:33:46 CEST
martyn vidler
2013-10-05 00:34:26 CEST
CC:
(none) =>
martynvidler I've confirmed the problem. Switching to tty2, logging in, and use startx --:1, it worked. Logged out, then went back to tty1, and it then worked, even after rebooting. No idea where the problem is, but a successful login from a console fixes it. CC:
(none) =>
davidwhodgins
claire robinson
2013-10-05 20:26:27 CEST
CC:
(none) =>
eeeemail, jani.valimaa, mageia, tremyfr
Manuel Hiebel
2013-10-07 12:45:06 CEST
Keywords:
(none) =>
Triaged
Manuel Hiebel
2013-10-07 12:46:26 CEST
Summary:
Unable to login =>
Unable to login with lightdm Please, test if new lightdm fixes this issue. Hi jani I have updated from version 1.7.17.1 to 1.7.18.1 mga4 I still get the problem. Did you reboot or restarted X after update? Try also removing ~/.Xauthority. jani I did reboot. I have now removed .Xauthority it seems to work but is tempromental. I will reinstall and try from there. IMHO reinstalling is never a good choice if we want to find out where's the bug. Could you check if ~/.xsession-errors and ~/.xsession-errors.old contains any lightdm related info? Check also /var/log/lightdm/lightdm.log and /var/log/lightdm/x-0-greeter.log. I will (In reply to Jani Välimaa from comment #6) > IMHO reinstalling is never a good choice if we want to find out where's the > bug. In this case, as the procedure to create the bug conditions is documented in the Description, and has been confirmed to create the bug, testing a reinstall is appropriate, as that will show whether the bug is still present. Martyn, in order to ensure the updated version is used during the install, please be sure to enable an online repo at the beginning of the install, before package selection. lightdm.log http://pastebin.com/dX3ri61D x-0-greeter.log http://pastebin.com/TZF4HS16 I have created a new user rebooted user cant login. Checked home/user no .Xauthority file This is not a new install just added a user It is very tempromental, I was logged in as my user logged out went to log back in again looped, 2nd attempt I logged in My opion this has nothing todo with .Xauthority sorry jani Asking to remove ~/.Xauthority was just a shot in the dark as we must start from somewhere.. Please also attach ~/.xsession-errors and ~/.xsession-errors.old but please don't use pastebin as those pastes might expire and be unavailable later. Use bugzilla's "Add an attachment" feature instead and attach logs as text files. I really don't like the lightdm pam files... They should likely include system-auth and not reinvent the wheel by themselves each time. Certain bits are needed locally but I would at least follow the gdm example whenever possible. I suspect problems here could be related to the pam files setup, but would have to look myself to see and likely wont be able to do that for a while, so someone else could have a play around and see what they can find. Created attachment 4415 [details]
lightdm log
Here are the files you asked for, more testing has also found the same problem with LXDE. I cant login into E17, ICEwm or gnome.
I have installed GDM and that seems to login ok
Created attachment 4416 [details]
x-0-greeter
Created attachment 4417 [details]
.Xauthority
Created attachment 4418 [details]
.xsessions-errors
Created attachment 4419 [details]
This is from test user .xsession-errors
This is where I cant login as test user
Jani Välimaa
2013-10-09 15:02:59 CEST
Attachment 4419 mime type:
application/octet-stream =>
text/plain
Jani Välimaa
2013-10-09 15:03:37 CEST
Attachment 4417 mime type:
application/octet-stream =>
text/plain
Jani Välimaa
2013-10-09 15:04:23 CEST
Attachment 4416 mime type:
text/x-log =>
text/plain
Jani Välimaa
2013-10-09 15:04:49 CEST
Attachment 4418 mime type:
application/octet-stream =>
text/plain (In reply to martyn vidler from comment #14) > Here are the files you asked for, more testing has also found the same > problem with LXDE. I cant login into E17, ICEwm or gnome. > I have installed GDM and that seems to login ok Can't see anything weird in logs. Unfortunately I can't reproduce this bug, login to fresh E17 and Xfce works fine. Related to PAM, what does 'ls /etc/pam.d/lightdm*' show? You could also try lightdm with gdm's pam config. Do 'mv /etc/pam.d/lightdm /etc/pam.d/lightdm.orig' and 'cp /etc/pam.d/gdm /etc/pam.d/lightdm' and restart your machine. jani To recreate problem login as user, "sudo useradd" with passwd, logout then try to login as new user. I find once the new user has logged in then the problem is not so often, but it can also affect the original user login. output of ls lightdm* lightdm lightdm-autologin lightdm-greeter lightdm-org I have swapped lightdm for gdm as you asked so far it seems to work, but when new user "as above" tried to login it did look like it was going to fail, but eventually did login. Ref comment 14 It should of been LXDM I have had that fail as well No "luck" with a new user either, can't reproduce. To please Colin, I've now adapted pam configs from gdm. :P Copied them directly and renamed to suit for lightdm. Tested changes locally before pushing and all worked fine for me and my usage cases. However, if my change introduced regressions we have plenty of time to debug/fix them before mga4. Please test new lightdm (which is also updated to 1.8.0). Check after update there're no lightdm related .rpmnew files in /etc/pam.d/. Mv them to original name if there're such files. jani That seems to have fixed it I have tried with new lightdm and cant get it to fail. Just 1 other thing I can get LXDE display manger to fail the same way sorry If I have to create a new bug or can you fix it in this report Please file a new bug about lxdm. You can mention this bug (bug 11379) in your new report. I'm closing this as fixed. Status:
NEW =>
RESOLVED |