lightdm hangs after updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
New
|
Undecided
|
Unassigned | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I've updated today my Trusy Thar installation. I can't login to Unity, with my account, or a guest account. Lightdm hangs after password input, or after I click on the Guest account.
Also, I used to auto-login. Now it greets me with the screen where I must input my password. After inputing it, lightdm hangs and I can't login.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lightdm 1.9.8-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Sun Feb 23 23:16:24 2014
InstallationDate: Installed on 2014-01-25 (29 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64+mac (20140115)
LightdmConfig:
[SeatDefaults]
autologin-
autologin-
autologin-
autologin-
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)
Ștefănescu Cristian (howerkraft) wrote : | #1 |
- -media-cristi-stuff-unity.log Edit (830 bytes, text/plain)
- Dependencies.txt Edit (22.7 KiB, text/plain; charset="utf-8")
- LightdmDisplayLog.txt Edit (2.3 KiB, text/plain; charset="utf-8")
- LightdmGreeterLog.txt Edit (5.3 KiB, text/plain; charset="utf-8")
- LightdmGreeterLogOld.txt Edit (9.7 KiB, text/plain; charset="utf-8")
- LightdmLog.txt Edit (4.2 KiB, text/plain; charset="utf-8")
- LightdmUsersConfig.txt Edit (455 bytes, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (304 bytes, text/plain; charset="utf-8")
Ștefănescu Cristian (howerkraft) wrote : | #2 |
Launchpad Janitor (janitor) wrote : | #3 |
Changed in lightdm (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-greeter (Ubuntu): | |
status: | New → Confirmed |
Gunnar Hjalmarsson (gunnarhj) wrote : | #5 |
Yesterday I made a fresh install of the 14.04 daily build, and made a similar experience. Then I installed lightdm-
Ștefănescu Cristian (howerkraft) wrote : | #6 |
I tried your sugestion.
If I install lightdm-
description: | updated |
Gunnar Hjalmarsson (gunnarhj) wrote : | #7 |
So I guessed wrong. Furthermore, after today's upgrade I can't reproduce my unity-greeter issue.
no longer affects: | unity-greeter (Ubuntu) |
Ștefănescu Cristian (howerkraft) wrote : | #8 |
I somehow managed to make it work using lightdm-
I started Unity using unity --replace in Guake and this is what I get:
WARN 2014-02-24 22:05:37 unity.glib.
ERROR 2014-02-24 22:05:37 unity.debug.
WARN 2014-02-24 22:05:37 xim.controller XIMController.
WARN 2014-02-24 22:05:37 unityct(io) <unknown>:0 Desktop file '/home/
WARN 2014-02-24 22:05:37 unityct(io) <unknown>:0 Desktop file '/usr/share/
WARN 2014-02-24 22:05:37 unity.glib.
WARN 2014-02-24 22:05:37 unity.glib.
WARN 2014-02-24 22:05:37 unity.glib.
WARN 2014-02-24 22:05:37 unityo (appinfo2) <unknown>:0 g_settings_
WARN 2014-02-24 22:05:37 unityo (appinfo2) <unknown>:0 g_settings_
ERROR 2014-02-24 22:05:37 unity.glib.
Alberto Salvia Novella (es20490446e) wrote : | #9 |
It prevents the package (or a dependent one) from functioning correctly at all.
Changed in lightdm (Ubuntu): | |
importance: | Undecided → High |
Doug Smythies (dsmythies) wrote : | #10 |
We had someone on Ubuntu forums with what seemed to be this issue. User "deadflowr" suggested it was because /usr/share/
Eric Eikrem (0cs935kb517wwmwa7m9428daadkyev88fk-mail-wz6bkyhu4uqpfausw0ege9b0y33ege6o4w) wrote : | #11 |
Had the same problem as above. Got it working again by installing lightdm-gtk-greeter as suggested.
Florian Echtler (floe) wrote : | #12 |
This bug (or a related one) still seems to be around after the final beta freeze. I've installed the 14.04 beta, and while I can login with my primary account, other users on the same machine can't log in - the greeter just sits there until you hit Esc. Also applies to the guest account.
allnightlong (allnightlong) wrote : | #13 |
Have same issue, after upgrading from 13.10 to 14.04 LTS release.
All suggestions didn't work. Can't get to work right now - ubuntu=fail
Reeyarn (reeyarn) wrote : | #14 |
Hi, I got a similar problem today after running
> apt-get dist-upgrade
to upgrade to 14.04.
After running it my desktop cannot show up when reboot.
However, I found I can still use Cirl+Alt+F1 to go to tty1 and login using my user account with root privilege.
Then I solved the problem and get my desktop back by running
> apt-get install ubuntu-desktop lightdm
It seems to me the package lightdm has been removed during the dist-upgrade. I don't know what happened though.
saki (sakisaki) wrote : | #15 |
Having exact same problem, can't log in, my desktop was configured to auto login
Seems as Ubuntu-session Ubuntu-desktop lightdm are not installed
Upgrading from 13.10
saki (sakisaki) wrote : | #16 |
I just noticed that the upgrade didn't really upgrade. Try
Sudo apt-get -f install
Sudo apt-get update
Sudo apt-get upgrade
I bet you have alot of packages left to upgrade like me. I noticed on the login screen that hanged originally that it said Ubuntu 13.10 in the corner as original OP
Domfe (domfe) wrote : | #17 |
I did as suggested but i'm unable to use my ubuntu 14.04. Do I have to do a fresh install?
Domfe (domfe) wrote : | #18 |
I tried to reinstall (not a fresh installation) but that doesn't resolve the issue.
If I login with my old user the desktop doesn't show.
If I use a new user, after login and password, the system returns to the login screen.
Domfe (domfe) wrote : | #19 |
Sorry, I'd like to add that I tried also using gdm but I can't login anyway
Ananthakumar (ananthakumar-v) wrote : | #20 |
ubuntu 14.04 hangs frequently.Also 4to 5 times restarted everyday.
Domfe (domfe) wrote : | #21 |
I have the same problem using GDM.
So, I think it's not related to lightdm.
In .xsession-errors I read dbus terminated with status 2.
What can I do to track down the problem and get my system working again?
Domfe (domfe) wrote : | #22 |
Update
After starting and stopping dbus, lightdm and reinstalling lightdm and ubuntu-desktop, now I can login with a new user but no way to use an older one
Ștefănescu Cristian (howerkraft) wrote : | #23 |
After 14.04 release, I've updated the distro and I don't have this problem anymore, with stock and custom kernel.
It seems like some people are still affected by this bug.
SadHad (saeed-hadeed) wrote : | #24 |
I have the same problem as well. both Unity and Gnome are freezing right after login but I managed to install LXDE which is working fine
Alex Shepherd (n00bsys0p) wrote : | #25 |
This also happened to me on 3 fresh installs and upgrades from 13.10 combined, both on hardware and VMs. Exact behaviour. Works fine until apt-get upgrade is run for the first time. It disables auto-login if configured and then hangs as soon as the password is entered, staying on the lightdm screen, but blanking out all the password fields. The main menu is still accessible as I can access power functions, and changing VT also works find. All installs tested using Unity, not tested under Gnome or LXDE.
On the hardware install, I was able to fix it by reinserting the DVD and choosing to reinstall the OS, however oddly when running in VirtualBox there was no option to reinstall, just to reformat and start from scratch.
Also it does show 13.10 on the lightdm greeter rather than 14.04 until the issue is fixed. Once it's fixed, it shows 14.04. Very strange.
WORKAROUND:
I worked around this by using the following IMMEDIATELY after a clean install:
sudo apt-get update
sudo apt-get install ubuntu-desktop lightdm libgtk-
gdk-pixbuf-
sudo apt-get upgrade
Now reboot.
This is tested working in the VMs and on hardware machines (not that there SHOULD be a difference)
Alex Shepherd (n00bsys0p) wrote : | #26 |
Sorry, typo: "sudo apt-get install ubuntu-desktop lightdm libgdk-
Carlos Román (c-roman-jobs) wrote : | #27 |
Same problem here
Intel® Pentium(R) CPU B960 @ 2.20GHz × 2
Intel® Sandybridge Mobile
Unity not start after login...
Jake McGregor (jake-mcgregor86) wrote : | #28 |
This sounds very similar to what I'm experiencing on Ubuntu 14.10. Basically, when I login, teh screen goes blank for a moment, then right back to the login. I have reason to believe a recent update made this happen. From what I've been reading, I think it has something to do with the .Xauthority file found at ~/ . I found something similar to what I was experiencing.
http://
Supposedly if I removed ~/.Xauthority (I made a backup) it would be regenerated after lightdm restarts. Well it doesn't, and I'm still stuck in a loop.
If anyone needs any command output, feel free to ask.
Xu Weihong (xuweihong-cn) wrote : | #29 |
I am experiencing this problem on Xubuntu 14.04 after an upgrade today. I have tried all the suggestions I could find on internet , such as reconfig/reinstall lightdm and xubuntu-desktop, clear session cache, remove Xauthority, restart lightdm time and time again, but still cannot work around this problem.
Xu Weihong (xuweihong-cn) wrote : | #30 |
I have checked auth.log and found something interesting. When everything is OK, the log looks like this
Jul 15 18:11:02 weihong-pc systemd-
Jul 15 18:11:03 weihong-pc systemd-
Jul 15 18:11:03 weihong-pc systemd-
Jul 15 18:11:03 weihong-pc systemd-
Jul 15 18:11:05 weihong-pc lightdm: PAM unable to dlopen(
Jul 15 18:11:05 weihong-pc lightdm: PAM adding faulty module: pam_kwallet.so
Jul 15 18:11:05 weihong-pc lightdm: pam_unix(
Jul 15 18:11:05 weihong-pc systemd-
Jul 15 18:11:05 weihong-pc systemd-
Jul 15 18:11:05 weihong-pc lightdm: pam_ck_
Jul 15 18:11:08 weihong-pc lightdm: PAM unable to dlopen(
Jul 15 18:11:08 weihong-pc lightdm: PAM adding faulty module: pam_kwallet.so
Jul 15 18:11:08 weihong-pc lightdm: pam_succeed_
Jul 15 18:11:08 weihong-pc dbus[754]: [system] Rejected send message, 7 matched rules; type="method_
Jul 15 18:11:12 weihong-pc lightdm: pam_unix(
Jul 15 18:11:12 weihong-pc lightdm: pam_unix(
Jul 15 18:11:12 weihong-pc systemd-
Jul 15 18:11:12 weihong-pc systemd-
Jul 15 18:11:12 weihong-pc lightdm: pam_ck_
Jul 15 18:11:14 weihong-pc gnome-keyring-
Jul 15 18:11:14 weihong-pc gnome-keyring-
Jul 15 18:11:14 weihong-pc gnome-keyring-
Jul 15 18:11:15 weihong-pc polkitd(
Jul 15 18:11:14 weihong-pc gnome-keyring-
Loris Zinsou (nepenthes) wrote : | #31 |
I guess I'm having the same issue on Ubuntu 14.10.
Session opening takes so long it can be mistaken for a freeze (up to 90, evn 120 seconds sometimes).
If I update Ubuntu 14.10 with xorg-edgers repos, session does not open.
Jake McGregor (jake-mcgregor86) wrote : | #32 |
I don't this this is specific to just LightDM. I tried installing KDM to see if it too would lock up occasionally, and it does. It's very strange because no keyboard input is recognized, not even ctrl+alt+f does anything. Next time I'll give it a while to see if it snaps out of it.
Jake McGregor (jake-mcgregor86) wrote : | #33 |
That's supposed to be ctrl+alt+f4 (typo)...
Xu Weihong (xuweihong-cn) wrote : | #34 |
I am experiencing exactly the same problem, the desktop freeze after click login and the keyboard does not response. I think systmed is the most probable cause since I found this in auth.log:
Jul 18 18:13:22 weihong-pc systemd-
But I have no ideas how to fix this problem.
Jake McGregor (jake-mcgregor86) wrote : | #35 |
Well whatever it is, I know ssh logins are still possible. If available I can login from another machine via ssh and reboot from there. Nothing seems to be locked up from that end, so I know it's not the core system. It also seems to be every other reboot too, if that matters.
Sam_Ashley (a-you) wrote : | #37 |
An update.
I had written here that I seemed to be affected by this bug too, but I remembered later that just before running the "Software Updater" gui tool I had enabled the "pre-released updates" update source. After the update the system wouldn't boot, and seemed totally hosed. But I had a backup of the root partition made with fsarchiver and so I was able to restore it. I did that, then just now tried disabling, then enebling one at a time, all of the sources and PPAs that I had been using---excpt for that "pre-released updates" source. The updates went without a hitch, and it seems all good. So in my case the bug report was seemingly a false alarm, and I just wanted to let y'all know.
Sam_Ashley (a-you) wrote : | #38 |
ps: I "hid" my first comments because they now seems not to be really helping.
Xu Weihong (xuweihong-cn) wrote : | #39 |
I ran apt-get update today and found the problem is solved! I check the apt history log and find that xdg-utils is updated. Is that the most probable cause?
Phred (phirmphoot-s) wrote : | #40 |
I think I'm having the same problem. It started happening shortly after upgrading from 12.04 LTS to 14.04 LTS. There are two user accounts on my system. One works fine. The other experiences this problem - hangs with only background image displayed after login. I've waited a half hour and nothing changes. None of the solutions I've found on the internet work (resetting Unity, reinstalling ubuntu-desktop, etc.) I'm guessing some configuration got borked during the upgrade, but I am no guru and have no idea how to track it down. If there's information I can provide that might help, I'll be happy to do so, but you may have to explain how to get it.
Knut J Bjuland (knut-j-bjuland) wrote : | #41 |
I am also affected.
bob (plaizer) wrote : | #42 |
I just upgraded to 14.04 yesterday & I waited a while after it came out because last time I upgraded to 12. the upgrade hosed me so fricking bad I had to wipe my drive and start again.
I did a test by upgrading my laptop first & that went fine, so feeling a little more confident in ubuntu this time I did my main pc...and I am so pissed I trusted ubuntu again I cant tell you... Im hosed..
I might as well be using windows for as much of a time suck failure ubuntu has become... when it works it works great... but this is the second time I have been SCREWED doing an upgrade..... NEVER AGAIN!!!
I had to hire a guy to come over and try fix it after EVERYTHING mentioned here FAILED.... he teaches linux at a local uni and he couldnt figure it out or fix it...
The only he could get a full boot was to install xubuntu.... I started using ubuntu & gnome desktop because it was so well supported, and now Im forced to either start again from scratch or deal with using a desktop that Im so unfamiliar with its like wading through mud to get anything done.
I see this has been listed as a high importance bug since FEB. yet its isnt even assigned.....
Janno (janno-t) wrote : | #43 |
If you just want to try my fix skip to end of post.
I also stumbled up on this bug in the summer. It took me a while but I managed to solve it in the end for me. (Had the problem on 6 or 7 older computers.)
I was sure I documented it here as well but it appears I did not.
It was a while ago but I still think I can remember the correct issue.
For me the problem was in the user-session variable in lightdm.conf file located in "/etc/lightdm/".
I had set it to 2D to speed things up a long time ago:
"user-session=
I had a slight feeling that I read something about it and it seams that 2D was indeed dropped in Ubuntu 12.10.
http://
This page should probably be updated as well:
https:/
My fix:
1) Open file for editing. If you do not know how to do this then there is discussion here on how to edit system files (http://
2) Change row "user-session=
3) Reboot computer
Bob or anyone else, please report back if this helps you.
bob (plaizer) wrote : | #44 |
Hi John
Thanks for the heads up... I was literally 2 seconds away from clicking install on the cd rom
and wiping my installation... (something I REALLY do not want to do)
I was REALLY hoping your solution would work... but sadly it already says simply "ubuntu"
in user session :(
Using ubuntu (at least as far as upgrades is concerned) has become worse than using windows, this is the second time in 2 upgrades that doing an upgrade has become the time suck from hell, and brought my actually using my main puter to a dead stop... and left me at the point of wiping my os hard drive and starting from scratch... it really has me rethinking ubuntu at all.
I switched out from windows because I got really tired of it being slow bloatware crashing crap, and I refuse to be bent over by apple, and locked into their ecosystem
Ubuntu seemed like a good solid os by then (v10) with a good gui that was well supported and a vibrant community supporting it.
Im not a fan at all of unity, but the ability to just install gnome and get to work is great... or at least it is until you are stupid enough to upgrade as I was...
I cant even get my vps to load using xubuntu and my provider ....um.... we dont support that.... thats why I choose ubuntu, its well distributed enough its supported... this is obviously a trend... Im sadly debating if I should go pick up a copy of windows
thanks for hosing me again ubuntu!!!!!
Janno (janno-t) wrote : | #45 |
Hi Bob!
Updated my name - still the same person.
Ok, it might also be that this bug has been open for so long time that we are seeing multiple issues in here.
I know this feeling all too well. I have helped a lot of people to Linux and in many cases to Ubuntu. It is always fun to get a phone call with an issue similar to this. But at the same time I know that supporting this kind of large project is not easy. I have had countless occasions when I have problems on Windows or other OS when I have felt that I should have gone with another one.
That said could you also provide your /var/log/
And do I assume correctly that you have "greeter-
How comfortable are you experimenting on CLI?
bob (plaizer) wrote : | #46 |
Hi
I very much appreciate the assistance.
Im ok getting into terminal & as long as its a copy and paste kinda deal, Im a gui user having moved over from windows
but over the last few years I have gotten fairly familiar with what does what when it comes to ubuntu/linux...
and have no problem busting out terminal or opening this or that in kate and doing some editing...
I do not however have the ability to just buts out a terminal window and know what to type natively.
here you go & thank you.. took a while to figure out how to get into the log files as root :)
thanks again :)
***** lightdm.conf*******
[SeatDefaults]
greeter-
user-session=ubuntu
greeter-
******end********
******lightdm.
[+0.00s] DEBUG: Logging to /var/log/
[+0.00s] DEBUG: Starting Light Display Manager 1.10.1, UID=0 PID=1296
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration from /usr/share/
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/
[+0.00s] DEBUG: Using D-Bus name org.freedesktop
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Seat: Starting
[+0.00s] DEBUG: Seat: Creating greeter session
[+0.00s] DEBUG: Seat: Creating display server of type x
[+0.01s] DEBUG: Quitting Plymouth
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat: Starting local X display on VT 7
[+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/
[+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/
[+0.02s] DEBUG: DisplayServer x-0: Launching X Server
[+0.02s] DEBUG: Launching process 1309: /usr/bin/X -core :0 -seat seat0 -auth /var/run/
[+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop
[+0.02s] DEBUG: Registering seat with bus path /org/freedeskto
[+0.05s] DEBUG: Loading users from org.freedesktop
[+0.05s] DEBUG: User /org/freedeskto
bob (plaizer) wrote : | #47 |
So.... the giant pain in the backside that is called ubuntu upgrade
isnt over...its a long stupid story.... however I did find a solution that at least let me reboot into a gui
Lets start with ... the ONLY way I could make any progress, was erasing my hard drive and installing from scratch.... (%^$# YOU ubuntu)
it all worked and booted.... then I spent the next way too many hours trying to get all my stuff back up and running.... configuring ...installing... customizing... blah blah blah
so... since I am obviously a moron (for trusting an upgrade in the first place) I today was a super big moron and installed the nvidia drivers and various issues happened... I run 3 - 27 inch monitors running in panorama and the default from the install was fine..... and everything...so why I thought I should fix it by adding the propriety driver is beyond me
regardless a number of crappy things happens that made my work day turn into once AGAIN.... "lets f around with ubuntu day"
after installing the driver the damn thing kept booting into low graphics mode with no solution in site... so I started trying to solve that problem and found this
*******
specifically this (link in that page) http://
This is a bug in LightDM and a bug report has already been filed.
The reason why you end up with this failsafe X is because the pantheon-greeter you installed along with the elementary desktop is now not available and LightDM is not able to identify an alternative greeter.
As a workaround, you can edit the LightDM conf file and correct the error.
Run the following command in a terminal:
sudo nano /etc/lightdm/
and change the line
greeter-
to
greeter-
and save it.
After changing the file, reboot and you will now be greeted with Unity greeter.
****************
so I did this .... and somehow ... inattention.
to my HORROR... I booted into the same problem that started this mess.... the bug described... so Im 2 days into a re-install and back at the issue I had that started it all, that I had no solution for in the first place other than a full re-install....
Since its almost halloween... i guess... nightmares are appropriate
anyway all the whining aside... I figured out how to at least get it to boot back to low graphics mode, so if you are stuck at the
point you login and then nothing happens you can at least try this
cntrl alt F1
login
sudo nano /etc/lightdm/
I edited lightdm.conf to: greeter-
saved and rebooted and I was at least able to get into low graphics mode, back to the last fing issue... but even that is an improvement! I was about ready to eat a bullet at that point if it hadnt worked
I hope it does for you... I was not able to find any way in other than a full re-install before....
Apparently this bug is at least in my case related to th...
Robert Ancell (robert-ancell) wrote : | #48 |
Closing assumed fixed.
Changed in lightdm (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in lightdm: | |
status: | New → Fix Released |
no longer affects: | lightdm |
Status changed to 'Confirmed' because the bug affects multiple users.