← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1312526] Re: lightdm fails to start session unless user selects session

 

Arvind, this is *not* the same bug.  This bug is a problem with every
lightdm greeter package except the gtk greeter failing to start a desktop
session unless the user manually selects a desktop session.

Perhaps you encountered this bug:

https://bugs.launchpad.net/lightdm/+bug/971891

instead?

Hopefully:

Perhaps htmldevelopers suggestion will help you.

Another thing you can try doing is replacing lightdm with another display
manager like gdm or slim.

If you boot in recovery-mode, select the fsck option, start networking, and
drop to a console you can do:

apt-get update
apt-get install gdm

and select gdm as your default display manager.

It may not look pretty (though you can change the theme to improve that)
but it may work better than lightdm.'

But you should probably look for help in the wiki or forums instead of the
bug tracker.

On Sat, Sep 13, 2014 at 2:58 PM, Arvind Kumar <phenom.arvind@xxxxxxxxx>
wrote:

> I lost my faith in ubuntu that they can deliver a good product.
> lightdm does not restart ,xorg server does not start.
>
> I had to format my machine.
>
> Please resolve all these issue on priority people affected very badly
> rather than releasing ubuntu 14.10.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1312526
>
> Title:
>   lightdm fails to start session unless user selects session
>
> Status in “lightdm” package in Ubuntu:
>   Confirmed
> Status in “lightdm-gtk-greeter” package in Ubuntu:
>   Confirmed
> Status in “unity-greeter” package in Ubuntu:
>   Confirmed
>
> Bug description:
>   I install using preseed files, and clobber a bit of /etc to configure
>   ubuntu to be suitable for users to login with network credentials.  I
>   use pam to make a home directory when users login with network
>   credentials.
>
>   On first boot, logging into the VTs works fine but I cannot log into
>   the lightdm dislpay manager.  If I type my username and password
>   right, I get a "Failed to start session" message and get bounced back
>   to the start of the login process.
>
>   If, however, I click one of the session types, e.g. 'ubuntu' or
>   'fluxbox', then I can log in.  (I've tried uninstalling fluxbox, this
>   doesn't seem to help).  At which point I can login, which I believe
>   works until I reboot the machine.  (I will test this shortly).
>
>   If I install the lightdm-gtk-greeter package then I do not encounter
>   this bug.  Instead, I am automatically logged into the alphabetically
>   first session type (at least, if I've got fluxbox available vs. either
>   ubuntu or xfce, that seems to be what I get, if only ubuntu is install
>   I get an ubunut session by default so I assume the preference is
>   alphabetical).
>
>   It does not seem to matter if I specify a
>   user-session=something
>   (I have also tried not setting user-session at all)
>
>   in lightdm.conf (well, I haven't tried it with the gtk-greeter, but it
>   doesn't matter with the unity greeter).
>
>   I've tried all of the other lightdm-greeter packages, and lightdm-
>   greeter-gtk is the only one that does not suffer from this bug.
>
>   the most relvant message in the logs I can find is:
>
>   DEBUG: Seat: Failed to find session configuration true
>   Seat: Can't find session 'true'
>
>   What I would expect to happen is to get some default session; getting
>   the alphabetically first session is kind-of/sort-of reasonable.  Total
>   failure is not.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 14.04
>   Package: lightdm 1.10.0-0ubuntu3
>   ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
>   Uname: Linux 3.13.0-24-generic x86_64
>   NonfreeKernelModules: openafs
>   ApportVersion: 2.14.1-0ubuntu3
>   Architecture: amd64
>   CurrentDesktop: Unity
>   Date: Thu Apr 24 22:08:08 2014
>   LightdmConfig:
>    [SeatDefaults]
>    user-session=true
>    greeter-hide-users=true
>    greeter-allow-guest=false
>    session-setup-script=/bin/sh -l /etc/profile
>   SourcePackage: lightdm
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1312526/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1312526

Title:
  lightdm fails to start session unless user selects session

Status in lightdm package in Ubuntu:
  Confirmed
Status in lightdm-gtk-greeter package in Ubuntu:
  Confirmed
Status in unity-greeter package in Ubuntu:
  Confirmed

Bug description:
  I install using preseed files, and clobber a bit of /etc to configure
  ubuntu to be suitable for users to login with network credentials.  I
  use pam to make a home directory when users login with network
  credentials.

  On first boot, logging into the VTs works fine but I cannot log into
  the lightdm dislpay manager.  If I type my username and password
  right, I get a "Failed to start session" message and get bounced back
  to the start of the login process.

  If, however, I click one of the session types, e.g. 'ubuntu' or
  'fluxbox', then I can log in.  (I've tried uninstalling fluxbox, this
  doesn't seem to help).  At which point I can login, which I believe
  works until I reboot the machine.  (I will test this shortly).

  If I install the lightdm-gtk-greeter package then I do not encounter
  this bug.  Instead, I am automatically logged into the alphabetically
  first session type (at least, if I've got fluxbox available vs. either
  ubuntu or xfce, that seems to be what I get, if only ubuntu is install
  I get an ubunut session by default so I assume the preference is
  alphabetical).

  It does not seem to matter if I specify a 
  user-session=something
  (I have also tried not setting user-session at all)

  in lightdm.conf (well, I haven't tried it with the gtk-greeter, but it
  doesn't matter with the unity greeter).

  I've tried all of the other lightdm-greeter packages, and lightdm-
  greeter-gtk is the only one that does not suffer from this bug.

  the most relvant message in the logs I can find is:

  DEBUG: Seat: Failed to find session configuration true
  Seat: Can't find session 'true'

  What I would expect to happen is to get some default session; getting
  the alphabetically first session is kind-of/sort-of reasonable.  Total
  failure is not.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: lightdm 1.10.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: openafs
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Apr 24 22:08:08 2014
  LightdmConfig:
   [SeatDefaults]
   user-session=true
   greeter-hide-users=true
   greeter-allow-guest=false
   session-setup-script=/bin/sh -l /etc/profile
  SourcePackage: lightdm
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1312526/+subscriptions


References