[Bug 802038] New: LightDM: first login attempt always fails
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c0 Summary: LightDM: first login attempt always fails Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: i586 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nobange@poczta.onet.pl QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1362.0 Safari/537.22 SUSE/25.0.1362.0 LightDM 1.4.0.-9.1 from X11:Utilities First login attempt with correct password always fails and the greeter reappears. Second attempt finally works. This bug appeared after last update from X11:Utilities repo. I downgraded lightdm to standard version from OSS to make sure that I didn't mess up myself and the old version works OK. My lightdm.log attached. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de AssignedTo|bnc-team-screening@forge.pr |gber@opensuse.org |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c1 Guido Berhörster <gber@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nobange@poczta.onet.pl --- Comment #1 from Guido Berhörster <gber@opensuse.org> 2013-02-10 09:30:56 UTC --- (In reply to comment #0)
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1362.0 Safari/537.22 SUSE/25.0.1362.0
LightDM 1.4.0.-9.1 from X11:Utilities
First login attempt with correct password always fails and the greeter reappears. Second attempt finally works. This bug appeared after last update from X11:Utilities repo. I downgraded lightdm to standard version from OSS to make sure that I didn't mess up myself and the old version works OK.
I cannot reproduce this on Factor/12.3. Which greeter are you using, what version and from what repo? Are you using automatic or passwordless logins?
My lightdm.log attached.
That's missing. Can you just attach a tarball of the whole /var/log/lightdm directory? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c2 --- Comment #2 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:05:09 UTC --- Created an attachment (id=524059) --> (http://bugzilla.novell.com/attachment.cgi?id=524059) logfile -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c3 --- Comment #3 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:07:11 UTC --- Created an attachment (id=524060) --> (http://bugzilla.novell.com/attachment.cgi?id=524060) logfile -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c4 --- Comment #4 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:09:41 UTC --- I finally attached the logfile (sorry for double). I use gtk greeter 1.3.1.11 from X11:Utilities repo, normal login method. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c Franciszek Janowski <nobange@poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nobange@poczta.onet.pl | Status|NEEDINFO |NEW InfoProvider|nobange@poczta.onet.pl | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c Franciszek Janowski <nobange@poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nobange@poczta.onet.pl | Status|NEEDINFO |NEW InfoProvider|nobange@poczta.onet.pl | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c5 --- Comment #5 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:34:40 UTC --- It also happens with older version of gtk-greeter v 1.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c5 --- Comment #5 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:34:40 UTC --- It also happens with older version of gtk-greeter v 1.1. --- Comment #6 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-10 20:43:16 UTC --- It happens also with older version of gtk-greeter v. 1.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c7 Guido Berhörster <gber@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nobange@poczta.onet.pl --- Comment #7 from Guido Berhörster <gber@opensuse.org> 2013-02-11 09:08:24 UTC --- The above log shows a successful login with lightdm 1.2.2, lightdm overwrites its log each time it is started. So please do the following: * reinstall lightdm 1.4.0 and lightdm-gtk-greeter 1.3.1 from X11:Utilities * restart you computer and try to log in for the first time which fails and throws you back to the greeter, try a second time which succeeds * open a terminal and get a root shell via "su -" * execute cd /var/log/lightdm && tar cf /tmp/lightdm-logs.tar * * attach /tmp/lightdm-logs.tar here -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c8 Franciszek Janowski <nobange@poczta.onet.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nobange@poczta.onet.pl | --- Comment #8 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-12 20:20:27 UTC --- Created an attachment (id=524372) --> (http://bugzilla.novell.com/attachment.cgi?id=524372) logs from v. 1.4 This time correct logs. I did exactly as you wrote. Hope it helps to eliminate this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c9 Guido Berhörster <gber@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |nobange@poczta.onet.pl --- Comment #9 from Guido Berhörster <gber@opensuse.org> 2013-02-12 22:41:13 UTC --- (In reply to comment #8)
Created an attachment (id=524372) --> (http://bugzilla.novell.com/attachment.cgi?id=524372) [details] logs from v. 1.4
This time correct logs. I did exactly as you wrote. Hope it helps to eliminate this bug.
Thanks. So the login actually succeeds and a session is started, however after about a second it dies from a SIGHUP which is why you are taken back to a greeter. That's a bit puzzling, does this only happen with lxde sessions? What happens when you choose another session like icewm or twm? I'll try to set up a vm some time to reproduce this, are you using any other repos than the 12.2 ones and X11:Utilities, if so, what packages from what repos? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c10 --- Comment #10 from Guido Berhörster <gber@opensuse.org> 2013-02-13 16:20:44 UTC --- I've just installed oS 12.2 LXDE with lightdm and lightdm-gtk-greeter from X11:Utilities and I cannot reproduce this, I get into the LXDE session on the first attempt every time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c11 --- Comment #11 from Franciszek Janowski <nobange@poczta.onet.pl> 2013-02-13 16:26:09 UTC --- (In reply to comment #9)
Thanks. So the login actually succeeds and a session is started, however after about a second it dies from a SIGHUP which is why you are taken back to a greeter. That's a bit puzzling, does this only happen with lxde sessions? What happens when you choose another session like icewm or twm?
It happens 1 time after restart, regardless which session I choose (icewm, twm, openbox, lxde). After succesful login, it goes without problems and if I logout, it logs in at the first try until next restart. Happens on both user accounts I have. So it must be something in my setup if you can't reproduce it. I won't bother you then, have to find out what's wrong or just use older version of lightdm eventually. It must be somehow connected with recent patches to lightdm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c12 Guido Berhörster <gber@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |CLOSED InfoProvider|nobange@poczta.onet.pl | Resolution| |WORKSFORME --- Comment #12 from Guido Berhörster <gber@opensuse.org> 2013-02-13 17:38:08 UTC --- OK, closing for now. Please reopen if you find something out allowing me to reproduce or run into this on 12.3 or Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c13 Andreas Hanke <andreas.hanke@gmx-topmail.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Version|Final |RC 2 Component|X11 Applications |X11 Applications CC| |andreas.hanke@gmx-topmail.d | |e AssignedTo|gber@opensuse.org |bnc-team-screening@forge.pr | |ovo.novell.com Resolution|WORKSFORME | Product|openSUSE 12.2 |openSUSE 13.1 OS/Version|openSUSE 12.2 |Other --- Comment #13 from Andreas Hanke <andreas.hanke@gmx-topmail.de> 2013-11-01 17:24:03 UTC --- I am still seeing this bug on openSUSE 13.1 RC2. See also: * https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/874218 * https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/913323 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c14 --- Comment #14 from Andreas Hanke <andreas.hanke@gmx-topmail.de> 2013-11-01 17:35:33 UTC --- Created an attachment (id=565901) --> (http://bugzilla.novell.com/attachment.cgi?id=565901) Current logfiles from a fresh openSUSE 13.1 RC2 installation -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |gber@opensuse.org |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802038 https://bugzilla.novell.com/show_bug.cgi?id=802038#c15 Guido Berhörster <gber@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |andreas.hanke@gmx-topmail.d | |e --- Comment #15 from Guido Berhörster <gber@opensuse.org> 2014-01-13 10:01:49 UTC --- (In reply to comment #14)
Created an attachment (id=565901) --> (http://bugzilla.novell.com/attachment.cgi?id=565901) [details] Current logfiles from a fresh openSUSE 13.1 RC2 installation
Please attach ~/.xsession-errors-* after a failed login attempt (and before logging into a new X session, i.e. copy them somewhere safe from a console). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=802038 http://bugzilla.novell.com/show_bug.cgi?id=802038#c16 Emotions Binary <emotionsbinary@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emotionsbinary@gmail.com --- Comment #16 from Emotions Binary <emotionsbinary@gmail.com> --- (In reply to Guido Berhoerster from comment #12)
OK, closing for now. Please reopen if you find something out allowing me to reproduce or run into this on 12.3 or Factory.
The issue always happens if you set "greeter-hide-users=true" in the lightdm.conf file. As you can see from the log files, [+8.37s] DEBUG: Session pid=5697: Started with service 'lightdm', username '(null)' And the error then. Otherwise, if "greeter-hide-users=false", "(null)" will be replaced with the last logged-in user and everything works @ first try. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com