Fails to load any session

Bug #944736 reported by Doug McMahon
92
This bug affects 20 people
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Fix Released
High
Unassigned

Bug Description

With lightdm 1.1.4-0ubuntu1 make it to the greeter, then fails to load any session, tried ubuntu, unity-2d, gnome-shell. (1st attempt of g-s failed, after removing & re-installing per comment 15 'some' things cleared up

Just get the 'corrupted' screen that is currently common with a lot of hardware, nvidia in particular
Downgrading to lightdm (1.1.3-0ubuntu1) & all is well.
(fully upgraded as of 7AM NY

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lightdm 1.1.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic-pae 3.2.6
Uname: Linux 3.2.0-17-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.93-0ubuntu2
Architecture: i386
Date: Fri Mar 2 06:51:12 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120220)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, how it fail? does it hang? display an error? come back to the screen? is the user a local one? can you add the lightdm logs to the bug?

Changed in lightdm (Ubuntu):
status: New → Incomplete
Revision history for this message
Doug McMahon (mc3man) wrote :

!st - do suffer from this bug, whether a factor don't know, - Bug 933322

So after getting to the greeter, entering password & pressing enter get a mosaic of images from any number of places
Normally the Desktop comes up several sec's later
With this lightdm version nothing happens, justs sits at the 'mosiac', no HDD activity.

Am attaching the lightdm log, there are a number of others in that dir., if useful?
May just try a new install with today's or tommorrow's image, this one is from 02/20

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue seems rather in your session run "dpkg -l | grep unity" and add those infos to the bug and attach a .xsession-errors from a buggy session? enter your password and when the screen get corrupted go to a vt (ctrl-alt-f1), log in and cp .xsession-errors somewhere

Revision history for this message
Hubert Hesse (hubx) wrote :

I can confirm this behaviour; I switched to gdm to log into a session

$ dpkg -l | grep unity
ii gir1.2-unity-5.0 5.4.0-0ubuntu1 GObject introspection data for the Unity library
ii libmeanwhile1 1.0.2-4build1 open implementation of the Lotus Sametime Community Client protocol
ii libunity-2d-private0 5.4.0-0ubuntu1 Unity 2D shared library
rc libunity-core-4.0-4 4.28.0-0ubuntu2 Core library for the Unity interface.
ii libunity-core-5.0-5 5.4.0-0ubuntu2 Core library for the Unity interface.
ii libunity-misc4 4.0.4-0ubuntu2 Miscellaneous functions for Unity - shared library
ii libunity6 4.0.6-0ubuntu3 binding to get places into the launcher - shared library
ii libunity9 5.4.0-0ubuntu1 binding to get places into the launcher - shared library
ii unity 5.4.0-0ubuntu2 Interface designed for efficiency of space and interaction.
ii unity-2d 5.4.0-0ubuntu1 Unity interface for non-accelerated graphics cards
ii unity-2d-launcher 5.4.0-0ubuntu1 Transitional package for unity-2d-launcher
ii unity-2d-panel 5.4.0-0ubuntu1 Unity 2D Panel
ii unity-2d-places 5.4.0-0ubuntu1 Transitional package for unity-2d-places
ii unity-2d-shell 5.4.0-0ubuntu1 Dash and Launcher for the Unity 2D environment
ii unity-2d-spread 5.4.0-0ubuntu1 Unity 2D Spread
ii unity-asset-pool 0.8.23-0ubuntu1 Unity Assets Pool
ii unity-common 5.4.0-0ubuntu2 Common files for the Unity interface.
ii unity-greeter 0.2.4-0ubuntu1 Unity Greeter
ii unity-lens-applications 5.4.0-0ubuntu2 Application lens for unity
ii unity-lens-files 5.4.0-0ubuntu1 File lens for unity
ii unity-lens-music 5.4.0-0ubuntu1 Music lens for unity
ii unity-lens-video 0.3-0ubuntu1 Unity Video lens
ii unity-scope-musicstores 5.4.0-0ubuntu1 Store music lens for unity
ii unity-scope-video-remote 0.3-0ubuntu1 Remote videos engine
ii unity-services 5.4.0-0ubuntu2 Services for the Unity interface

Revision history for this message
Hubert Hesse (hubx) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have anything in /var/log/messages /var/log/Xorg.0.log(.old) or /var/log/lightdm/x-*.log? the session log suggests the xserver is going away or something... does any non unity session work?

Revision history for this message
Hubert Hesse (hubx) wrote :
Revision history for this message
Hubert Hesse (hubx) wrote :
Revision history for this message
Hubert Hesse (hubx) wrote :
Revision history for this message
Hubert Hesse (hubx) wrote :

Nothing special in messages or the other log files except from some CRITICAL in x-0-greeter.log as far as can I see

Revision history for this message
Doug McMahon (mc3man) wrote :

Not sure what to make of this - have an older A2 install, same machine on which I do fool around a bit. Upgraded it fully - no issue with current lightdem
This install which is straightup , just won't work with it. Anyway will attach -

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you both tar your lightdm log dir and add it there as well than both Xorg.0.log and Xorg.0.log.old?

Revision history for this message
Doug McMahon (mc3man) wrote :

Will do so - but to update -
took a little persistence or just happenstance but finally in a ubuntu session with current lightdm

gist of it is - tried the gtk-greeter to see if any difference, none, switched back to the unity-greeter
So went to a vt, installed gnome-shell, tried a login which worked.

Then tried a ubuntu login, this time got to a Desktop but no compiz/unity, tried a couple of times, same thing, xsession error about compiz 'crashing too quickly'

Tried unity-2d, this time it worked
Went back to a ubuntu session & it loaded without incident.

So I'm going to guess that on this install I'll now get past the greeter to a Desktop, though
i'd figure compiz may 'crash' some of the time, will not the rest (no .crash is created

Will give it a few tests though could be more useful to do a fresh install & see if this is an accumulated behavior or the current state

Revision history for this message
Doug McMahon (mc3man) wrote :

Here is the xsession on the ubuntu login when compiz dies (wasn't 'crashing too quickly', is "respawning too quickly"

Doug McMahon (mc3man)
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

can you open a guest session? does it work? is your user using some protected directory?

Revision history for this message
Hubert Hesse (hubx) wrote :

Yes I can open a guest session(was disabled so I didn't tried that before). Yes, I use the buid-in ecryptfs for my home directory.
In addition I found some:

Mar 2 14:55:04 caput sudo: pam_ecryptfs: pam_sm_authenticate: /home/hub is already mounted
Mar 2 14:55:04 caput gnome-session[8194]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012

in syslog

Revision history for this message
Sebastien Bacher (seb128) wrote :

Hubert, things really look like xorg was going away on your system for some reason...

One bug we found and are fixing is that the selection choice is broken and it always goes to unity-3d, were you using unity-3d before the update?

Revision history for this message
Hubert Hesse (hubx) wrote :

Sebastien, yes it does. After login it throws me back to console and I can see startup output for a sec. Sorry for not pointing that out clear enough. Yes, I have been using unity-3d before. But I tried all unity2d, gnome, deleted the .dmrc and so forth.

Maybe its specific to my user profile. I will create two other users (one with ecryptfs, one without)

Revision history for this message
Hubert Hesse (hubx) wrote :

Both new created users have no problem, so must be something specific to my user profile.

Michael Terry (mterry)
Changed in lightdm (Ubuntu):
importance: Undecided → High
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Confirming the issue as we got many reports today at the IRC that the new lightdm was causing issues when doing the login.

I believe the issue is mostly sorted now, and it main cause is related with the way the lightdm-session wrapper is calling gnome-sessions, by not quoting it properly (this will cause the script /etc/X11/Xsession.d/20x11-common_process-args to believe it has one extra argument, and will not set the STARTUP var).

Changed in lightdm (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

And as today's workaround lightdm got reverted to the previous version 1.1.4.is.1.1.3-0ubuntu1, until this is properly fixed with the newer one.

Revision history for this message
Doug McMahon (mc3man) wrote :

Did a fresh install using Beta1 and upgraded the just the 2 lightdm packages using the orig, 1.1.4-0ubuntu1 , not the reverted packages.
Thru numerous restarts & logins no issue at all other than the continuing mosaic of image snippets from all over the harddrive (inc. the default unity greeter .png from an 11.04 install

Anyway then upgraded all but the 2 lightdm packages, again still fine thru restarts & log out/in's (.xsession-errors is all over the place with warnings & "Fatal IO error 11 (Resource temporarily unavailable) on X server :0.", but all is ok

Installed nvidia-current, no change, all good.

The only trouble comes from trying to log in to unity-2d, then the greeter hangs. After that it takes a couple of attempts to get back to unity-3d, but once done no more issues with the ubuntu session

Absolutely no sign of compiz dying directly upon login or 'xorg going away ', the only current issue is the mentioned trying to log into another session. So most of the prior bad behavior was local to my previous install for whatever reason

Javier Blanco (j2bv16)
Changed in lightdm (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

Could those of you who had the issue try the 1.1.6 candidates deb from the ubuntu-desktop ppa: https://launchpad.net/~ubuntu-desktop/+archive/ppa/+packages?field.name_filter=lightdm and let us know if things work fine with it?

Revision history for this message
Doug McMahon (mc3man) wrote :

With 1.1.6 can log in to unity-2d & ubuntu with no issue, tried multiple times inc. restarts
Did see a re-occurrence of the slow logout with unity-2d (812104), but only happened once so likely not a concern

Revision history for this message
Doug McMahon (mc3man) wrote :

Also tried GS with no issue, but have seen a 2nd slow log out from unity-2d. So this, at least here, does seem to affect the recent fix of bug 812104

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.1.6-0ubuntu1

---------------
lightdm (1.1.6-0ubuntu1) precise; urgency=low

  * Upload the new version to Ubuntu
  * Reshuffle a bit the vcs to use merge upstream correctly

  [ Robert Ancell ]
  * New upstream release:
    - Fix session wrapper working the same as it did in 1.1.3 (lp: #944736)
    - Stop file descriptors leaking into the session processes (lp: #927060)

  [ Martin Pitt ]
  * debian/control: Fix liblightdm-gobject-1-doc architecture to "all".
 -- Sebastien Bacher <email address hidden> Tue, 06 Mar 2012 13:45:29 +0100

Changed in lightdm (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Eric Heikes (eheikes) wrote :

I just started having this problem today (wasn't a problem for me previously), and it seems to be related to this bug.

I cannot load Unity, Gnome, Gnome Classic, or the recovery console from the lightdm-greeter login screen. Logging in as guest works. Using gdm instead of lightdm works.

/var/log/lightdm/lightdm.log reports the session as exiting with a return value of 1. Running the lightdm-session command manually reports multiple errors about a blank display name.

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Eric: if you have an issue please open a new bug using "ubuntu-bug lightdm" and don't comment on an old closed one

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.