[Bug 846832] New: 131.1 RC1 - X sometimes does not start (lightdm)
https://bugzilla.novell.com/show_bug.cgi?id=846832 https://bugzilla.novell.com/show_bug.cgi?id=846832#c0 Summary: 131.1 RC1 - X sometimes does not start (lightdm) Classification: openSUSE Product: openSUSE 13.1 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Sometimes, just after booting up, the graphical session does not start. It is a text display (in alt-f7) that ends in: [ OK ] Reached target Graphical Interface Photo available on request. I add logs, including lightdm logs. 2013-10-19T13:49:07.284318+02:00 Minas-Tirith systemd[1]: Starting Graphical Interface. ****************************** 2013-10-19T13:49:07.285038+02:00 Minas-Tirith systemd[1]: Reached target Graphical Interface. 2013-10-19T13:49:07.285868+02:00 Minas-Tirith systemd[1]: Starting Stop Read-Ahead Data Collection 10s After Completed Startup. 2013-10-19T13:49:07.286646+02:00 Minas-Tirith systemd[1]: Started Stop Read-Ahead Data Collection 10s After Completed Startup. 2013-10-19T13:49:07.287345+02:00 Minas-Tirith systemd[1]: Starting Update UTMP about System Runlevel Changes... 2013-10-19T13:49:07.288083+02:00 Minas-Tirith systemd[1]: Started Update UTMP about System Runlevel Changes. 2013-10-19T13:49:07.290187+02:00 Minas-Tirith systemd[1]: Startup finished in 6.182s (kernel) + 13.267s (userspace) = 19.450s. 2013-10-19T13:49:07.401875+02:00 Minas-Tirith dbus[544]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' 2013-10-19T13:49:07.414638+02:00 Minas-Tirith systemd[1]: Starting Accounts Service... 2013-10-19T13:49:07.446238+02:00 Minas-Tirith accounts-daemon[957]: started daemon version 0.6.34 2013-10-19T13:49:07.448784+02:00 Minas-Tirith dbus[544]: [system] Successfully activated service 'org.freedesktop.Accounts' 2013-10-19T13:49:07.449306+02:00 Minas-Tirith systemd[1]: Started Accounts Service. 2013-10-19T13:49:07.490808+02:00 Minas-Tirith xdm[551]: No protocol specified 2013-10-19T13:49:07.491487+02:00 Minas-Tirith xdm[551]: Error opening display! ****************************** Failure. 2013-10-19T13:49:07.494617+02:00 Minas-Tirith xdm[551]: No protocol specified 2013-10-19T13:49:07.495044+02:00 Minas-Tirith xdm[551]: /usr/bin/xrdb: Resource temporarily unavailable 2013-10-19T13:49:07.495408+02:00 Minas-Tirith xdm[551]: /usr/bin/xrdb: Can't open display ':0' 2013-10-19T13:49:07.498385+02:00 Minas-Tirith xdm[551]: No protocol specified 2013-10-19T13:49:07.498826+02:00 Minas-Tirith xdm[551]: /usr/bin/xmodmap: unable to open display ':0' 2013-10-19T13:49:07.544358+02:00 Minas-Tirith lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0) To recover, I issue init 3, init 5. Machine is a laptop, compaq presario CQ61-330SS. Video is Intel GM45. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c1
--- Comment #1 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c2
--- Comment #2 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c3
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c4
--- Comment #4 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c5
--- Comment #5 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c6
--- Comment #6 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c7
David Royal
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c8
--- Comment #8 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c9
--- Comment #9 from David Royal
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c10
--- Comment #10 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c11
--- Comment #11 from David Royal
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c12
--- Comment #12 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c13
--- Comment #13 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c14
--- Comment #14 from Guido Berhörster
Created an attachment (id=569418) --> (http://bugzilla.novell.com/attachment.cgi?id=569418) [details] Attached the file requested
After uncompress the tar file the problem remains. I attached the file requested.
Thanks, that was just to see if the xauthority file was corrupt, but both yours and Davids are intact so that's not the reason for the failure to connect to the X server. The problem here is that it is a race condition and I can't reproduce it neither on my laptop nor in a vm and there are many moving parts involved (lightdm, systemd, the xdm init script, X) and error reporting of X clients is pretty useless. I'm in contact with upstream about this. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c15
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c16
Robert Ancell
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c17
--- Comment #17 from Guido Berhörster
I'm the LightDM maintainer.
In Anibal's log it only shows the X server authority files and not the greeter authority files.
In David's logs it shows both, but in the "Before running X" stage the X authority has changed for some reason, and the greeter is continuing with the original X authority. If this is true they definitely couldn't connect.
Could you please re-try these tests and attach lightdm.log after this occurs? I need more information.
If the log doesn't give more information we might need to try a LightDM branch with some extra debugging added - would either of you be able to build from source / is there an easy way to make a package for testing Guido?
Yes, that's easily possible with OBS, please attach the debugging patches here and I'll make a package available. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c18
--- Comment #18 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c19
--- Comment #19 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c20
--- Comment #20 from Guido Berhörster
@Guido just a side note: as you could not reproduce the problem on your machines, have you upgraded from 12.3 or did a clean install? As I have reproduced the problem on three different machines now with a new install.
I always do clean installs (except when explicitly testing/triaging in vms), I also monitor OpenQA for Xfce runs and I've never seen it show up there either. So it probably boils down to a certain timing that triggers it. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c21
--- Comment #21 from Robert Ancell
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c22
--- Comment #22 from Guido Berhörster
Thanks Marcus,
The log looks normal.
The only part I can't see is what /etc/X11/xdm/Xsetup does. Is that standard OpenSUSE code or is there something custom in there?
The openSUSE default Xsetup script only does some tweaks such as setting up the keyboard map, numlock and the screensaver, see http://susepaste.org/aaf896d9
Is there any chance this could modify the xauthority files?
At least in case of the default script posted above, I don't think so. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c23
--- Comment #23 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c24
--- Comment #24 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c25
--- Comment #25 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c26
--- Comment #26 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c27
--- Comment #27 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c
Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c28
--- Comment #28 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c29
--- Comment #29 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c30
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c31
--- Comment #31 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c33
--- Comment #33 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c34
--- Comment #34 from Robert Schweikert
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c35
--- Comment #35 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c36
--- Comment #36 from Guido Berhörster
@Robert Ancell @Guido will one of you perhaps be at FOSDEM? If so, I could probably bring a device where the problem occurs.
I'm afraid I won't be attending. And unfortunately I'm currently out of ideas on how to debug this further so I hope Robert can come up with something. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c37
--- Comment #37 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c38
--- Comment #38 from Guido Berhörster
Ok, could you please provide some packages where debugging has been enabled, so I could give them a try?
see comment #16; (In reply to comment #16)
If the log doesn't give more information we might need to try a LightDM branch with some extra debugging added - would either of you be able to build from source / is there an easy way to make a package for testing Guido?
I will create packages as soon as such a branch is set up. -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c39
--- Comment #39 from Robert Schweikert
@Robert Ancell @Guido will one of you perhaps be at FOSDEM? If so, I could probably bring a device where the problem occurs.
I will not be at FOSDEM Robert -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c40
--- Comment #40 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c41
--- Comment #41 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c42
Cyber Killer
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c43
chadd williams
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c44
--- Comment #44 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c45
--- Comment #45 from Robert Ancell
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c46
--- Comment #46 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c47
--- Comment #47 from Robert Schweikert
Thanks Robert. I've created a package with the above patch in home:gberh:branches:X11:Utilities/lightdm, could those affected by this bug please (thoroughly) test it and report back here?
Bingo. Thanks Guido and Robert (not myself obviously ;) ) for working on this and finding and fixing the problem. Just tested the new packages and after 5 reboots with lightdm consistently starting I am happy with the fix. This is on a system76 netbook -- 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=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c48
--- Comment #48 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c49
--- Comment #49 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c50
--- Comment #50 from Marcus Moeller
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c51
--- Comment #51 from David Royal
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c52
--- Comment #52 from Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c53
--- Comment #53 from chadd williams
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c54
--- Comment #54 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c55
Hector Vido
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c56
--- Comment #56 from Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c57
--- Comment #57 from Anibal Avelar
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c58
Benjamin Brunner
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c59
--- Comment #59 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=846832
https://bugzilla.novell.com/show_bug.cgi?id=846832#c60
--- Comment #60 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com