The greeters were moved to /usr/sbin but the PATH only contains
/usr/lib/lightdm/lightdm:/usr/local/bin:/usr/bin:/bin. They used to be
in libexecdir which is manually added to the path in
session.c:session_start.

The greeter log at ~/.cache/lightdm/log/:1-greeter.log contains:

exec: 33: lightdm-gtk-greeter: not found

which is from /usr/lib/lightdm/lightdm-greeter-session. As a workaround
until this is fixed, adding /usr/sbin to PATH before the exec on line 33
in that file will allow the greeter to start.

This isn't an issue when lightdm runs normally because /usr/sbin is part
of the environment received from pam, but some of the setup is skipped
in the --test-mode session, and in the log above the pam environment is
empty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/860003

Title:
  running LightDM in test mode doesn't work

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to