black screen after booting, 100% cpu usage
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | LightDM GTK+ Greeter |
Undecided
|
Unassigned | ||
| | lightdm-gtk-greeter (Arch Linux) |
New
|
Undecided
|
Unassigned | |
| | lightdm-gtk-greeter (Ubuntu) |
Critical
|
Unassigned | ||
Bug Description
After booting, I get no login screen, but a black screen. inspecting the running processes in a vterm, I see lightdm-gtk-greeter consuming 100% of one processor.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: lightdm-gtk-greeter 1.9.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.18.0-8-generic x86_64
NonfreeKernelMo
ApportVersion: 2.15.1-0ubuntu2
Architecture: amd64
Date: Tue Jan 13 19:14:47 2015
InstallationDate: Installed on 2014-12-30 (14 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141229)
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: lightdm-gtk-greeter
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Sean Davis: Approve on 2015-04-26
- Andrew P.: Pending requested 2015-03-04
-
Diff: 1539 lines (+685/-278)8 files modifiedsrc/Makefile.am (+2/-0)
src/greeterbackground.c (+75/-39)
src/greeterbackground.h (+16/-3)
src/greeterconfiguration.c (+371/-0)
src/greeterconfiguration.h (+57/-0)
src/lightdm-gtk-greeter-fallback.css (+5/-5)
src/lightdm-gtk-greeter.c (+154/-229)
src/lightdm-gtk-greeter.glade (+5/-2)
| Daniel Kessel (dkessel) wrote : | #1 |
| Alistair Buxton (a-j-buxton) wrote : | #2 |
| Daniel Kessel (dkessel) wrote : | #3 |
| Daniel Kessel (dkessel) wrote : | #4 |
I have attached both the strace and the gdb log. It looks like I am missing debug symbols for gdb to work properly. I hope one of these files helps finding the problem.
| Daniel Kessel (dkessel) wrote : | #5 |
Another gdb trace. The process was in another library this time, it seems.
| Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in lightdm-gtk-greeter (Ubuntu): | |
| status: | New → Confirmed |
| Changed in lightdm-gtk-greeter (Ubuntu): | |
| importance: | Undecided → Critical |
| Sean Davis (bluesabre) wrote : | #7 |
lightdm-gtk-greeter 2.0 is now in vivid, can you please test with that version?
| Daniel Kessel (dkessel) wrote : | #8 |
The bug does not happen anymore.
| Josef Jedlicka (josef-jedlicka) wrote : | #9 |
I can confirm this error in Xubuntu 15.04. The error is in deed fixed by installing updates. However the issue appears again with multiple monitors.
If you click anywhere the login window will be displayed. This issue is fixed by inserting
active-monitor=0 on the end of file /etc/lightdm/
| Andrew P. (kalgasnik) wrote : | #10 |
Please check version from this PPA (without active-monitor=0):
https:/
| Josef Jedlicka (josef-jedlicka) wrote : | #11 |
That didn't help at all, this package caused even more troubles and lightdm service failed to start.
| Andrew P. (kalgasnik) wrote : | #12 |
Add this option to lightdm-
allow-debugging
and post /var/log/
I've just upgraded from Xubuntu 14.10 to 15.04. After rebooting I was presented with a blank screen. Switching to a terminal I could see that lightdm-gtk-greeter was consuming 100%. After that I switched back to the graphical environment. Then I clicked the left-mouse button at a random position and the normal login screen came up and I could log in.
I added the allow-debugging
After that added the option active-monitor=0 as suggested in one of the comments above. This workaround solves the problem for me. After the reboot the login screen comes up immediately.
| Reed O'Brien (reedobrien) wrote : | #14 |
This still occurs with lightdm-gtk-greeter 2.0.0-0ubuntu1 in 15.04 and multiple monitors per #1448214
| Reed O'Brien (reedobrien) wrote : | #15 |
This still occurs with lightdm-gtk-greeter 2.0.0-0ubuntu1 in 15.04 and multiple monitors per bug #1448214
sorry for the echo...
| Andrew P. (kalgasnik) wrote : | #16 |
So, have you tested proposed branch (without active-monitor workaround)?
I hadn't tried that one yet. But I tried it now.
I installed lightdm-gtk-greeter 201503290547~
and removed the active-monitor option.
This fix solved the problem for me. After the reboot the login screen comes up right away.
| Andrew P. (kalgasnik) wrote : | #18 |
Could you post new greeter log?
Yes, here is is. The greeter log with lightdm-gtk-greeter 201503290547~
| Andrew P. (kalgasnik) wrote : | #20 |
Thanks, just another check - looks as expected.
| Changed in lightdm-gtk-greeter: | |
| status: | New → Confirmed |
| Changed in lightdm-gtk-greeter (Ubuntu): | |
| status: | Confirmed → Triaged |
| Changed in lightdm-gtk-greeter: | |
| status: | Confirmed → Fix Released |
| Changed in lightdm-gtk-greeter: | |
| milestone: | none → 2.0.1 |
| Martin Smat (msmat) wrote : | #21 |
I still have the problem even after updating lightdm-gtk-greeter to version 2.0.1.
Attached is the x-0-greeter-log.
| Andrew P. (kalgasnik) wrote : | #22 |
1. About the bug. The algorithm that detects monitors overlapping must be a little "smarter". It's solvable, just need some time to fix. You can use "active-monitor" as workaround.
2. You still will have some issues with your monitors even with that fix.
Each your monitor displays the same area (see attachment). Search "lightdm dual" or "lightdm resolution" for fix.
| Martin Smat (msmat) wrote : | #23 |
Thank you, Andrew, for a prompt answer. I used the workaround with "active-monitor" already before 2.0.1. I only hoped the new bug fix would solve this problem. It obviously helped to many others but in some specific configurations like mine it still fails. I will patiently wait for a "smarter" algorithm and in the meantime I will use the suggested workaround and will take a look at including xrandr script in my lightdm.conf.
| Hacksign (evilsign) wrote : | #24 |
still black screen after logined in from command 'dm-tool lock'.


Can you try to figure out what it is doing? eg
strace -p `pidof lightdm- gtk-greeter`
or
gdb -p `pidof lightdm- gtk-greeter`