desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #24069
[Bug 860003] Re: running LightDM in test mode doesn't work
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 Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/860003
Title:
running LightDM in test mode doesn't work
Status in “lightdm” package in Ubuntu:
Confirmed
Bug description:
As described on https://wiki.ubuntu.com/LightDM, I should be able to
run lightdm --test-mode in a console. However, when I try that, I
first get this error:
matthijs@Simba:~$ lightdm --test-mode
Running inside an X server requires Xephyr to be installed but it cannot be found. Please install it or update your PATH environment variable.
When I then install the xserver-xephyr package and try again, a small
window opens for less than a second and then closes again. No errors,
no testing environment. Nothing.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.9.7-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Mon Sep 26 22:01:52 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
SourcePackage: lightdm
UpgradeStatus: Upgraded to oneiric on 2011-09-22 (3 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/860003/+subscriptions
References