This bug was fixed in the package lightdm - 1.9.1-0ubuntu1
---------------
lightdm (1.9.1-0ubuntu1) trusty; urgency=low
* New upstream release:
- Correctly set $XDG_SESSION_CLASS for greeters. This was regressed in 1.7.5
for ConsoleKit and was never passed to logind. logind/ConsoleKit treat
greeter sessions without this set as user sessions. This causes greeters
to show the lightdm user able to be logged in with.
(LP: #1242939)
- Set $USER when running the session-setup-script. This is a regression from
1.7.5. (LP: #1245957)
- Fix notification of sessions being logged out. This is a regression from
1.7.5 and caused greeters to show sessions logged in after they had been
logged out. (LP: #1245295)
- Refactor liblightdm user scanning to be simpler and more reliable. This
fixes bugs where some properties wouldn't be updated when they changed in
accounts service.
- Add support for a "display-stopped-script" field in lightdm.conf. The
"display-stopped-script" field allows us to run a script right after
stopping the display server.
- Allow dm-tool to run outside of a session if it doesn't need to be.
- Set $MIR_SERVER_NAME to assign a name to launched sessions. Also use a
"greeter-" prefix for greeter sessions for the benefit of
unity-system-compositor.
-- Robert Ancell <[email protected]> Wed, 30 Oct 2013 14:11:16
-0700
** Changed in: lightdm (Ubuntu Trusty)
Status: In Progress => Fix Released
--
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/1245957
Title:
session-setup-script doesn't know the username
Status in Light Display Manager:
Fix Released
Status in Light Display Manager 1.8 series:
Fix Released
Status in Light Display Manager 1.9 series:
Fix Released
Status in “lightdm” package in Ubuntu:
Fix Released
Status in “lightdm” source package in Saucy:
Triaged
Status in “lightdm” source package in Trusty:
Fix Released
Bug description:
When the session-setup-script is called, the environment doesn't have
$USER set. It worked in 13.04 and for the cleanup script.
To reproduce:
1. Configure LightDM to have a session-setup-script in [SeatDefaults]
2. Check the $USER environment variable in the script
Expected result:
$USER is set to the name of the session being started
Observed result:
$USER is not set
Regression potential:
- Low, the change just sets the variable as it used to be set in LightDM <
1.7.5
To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1245957/+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