Ok, I may have a workaround (not sure yet of any side effects or what
else could be broken...)

Since we did the symlink to /bin/init,  this is what .Xsession looks like as we 
know:
init: unity-gtk-module main process (3055) terminated with status 127
init: logrotate pre-start process (3053) terminated with status 127
init: dbus pre-start process (3056) terminated with status 127
init: ssh-agent pre-start process (3054) terminated with status 127
init: ssh-agent post-stop process (3062) terminated with status 127

If you look at ~/.cache/upstart as your LDAP based user, you'll notice in log 
files for dbus, etc for errors, sure enough the error is it can't find initctl:
/proc/self/fd/9: 3: /proc/self/fd/9: initctl: not found
/proc/self/fd/9: 3: /proc/self/fd/9: initctl: not found
/proc/self/fd/9: 3: /proc/self/fd/9: initctl: not found

I added a symlink from /sbin/initctl to /bin like we did with init, and
I am now able to log in again.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1228079

Title:
  Login issue: Lightdm + LDAP + Kerberos

Status in “lightdm” package in Ubuntu:
  Confirmed

Bug description:
  lightdm 1.7.15-0ubuntu1, Ubuntu 13.10

  - Local users can login without problems on command line and LightDM
  - Kerberos/LDAP authenticated users can login on command line

  - Kerberos/LDAP authenticated users cannot login with LigthDM. If you
  provide a valid user/password the screen gets blank before you return
  to the login screen. The .xession-errors includes "/usr/sbin/lightdm-
  session: 5: exec: init: not found"

  - If you add init to the users path (e.g., ln -s /sbin/init /bin/init)
  the user does no longer return back to LightDM but gets a blank
  screen. Several errors related to "init" in the .xsession-errors.
  First of them is "init: Failed to spawn upstart-file-bridge main
  process: unable to execute: No such file or directory"

  .xession-errors for both setup attached to this bug report

  No problems with Ubuntu 12.04.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: lightdm 1.7.15-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-7.14-generic 3.11.1
  Uname: Linux 3.11.0-7-generic x86_64
  ApportVersion: 2.12.1-0ubuntu4
  Architecture: amd64
  Date: Fri Sep 20 12:21:13 2013
  InstallationDate: Installed on 2013-09-20 (0 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130917)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=de_DE
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  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/1228079/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to