Public bug reported: When there is an error in e.g. ~/.profile or /etc/profile, a zenity warning dialog is shown at login which calls the user's attention to the error. The error message should also be appended to ~/.xsession-errors, but currently it's not.
Changing the line cat "$ERR" >>/dev/stderr in /usr/sbin/lightdm-session to cat "$ERR" >&2 fixes it. (It used to work in trusty, but not any longer, so in part it appears to be some SRU regression.) Since possible error messages are shown in the zenity dialog, I don't think this is important enough to backport. Prepared an MP for zesty. ** Affects: lightdm (Ubuntu) Importance: Low Assignee: Gunnar Hjalmarsson (gunnarhj) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/1639533 Title: Failure to update ~/.xsession-errors Status in lightdm package in Ubuntu: In Progress Bug description: When there is an error in e.g. ~/.profile or /etc/profile, a zenity warning dialog is shown at login which calls the user's attention to the error. The error message should also be appended to ~/.xsession- errors, but currently it's not. Changing the line cat "$ERR" >>/dev/stderr in /usr/sbin/lightdm-session to cat "$ERR" >&2 fixes it. (It used to work in trusty, but not any longer, so in part it appears to be some SRU regression.) Since possible error messages are shown in the zenity dialog, I don't think this is important enough to backport. Prepared an MP for zesty. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1639533/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp