Ok, previous path has no chance to work since env is not yet exported, so g_getenv() won't return anything.
This one should do the work. ** Patch added: "set default PATH if not found in environment" https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+attachment/2192088/+files/01_set-default-path.patch ** Patch removed: "set default PATH if not found in pam_getenv" https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+attachment/2192018/+files/set-default-path.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/798277 Title: $PATH does not contain /usr/games on Ubuntu Oneiric (11.10) - /etc/environment not sourced or environment not preserved To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/798277/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
