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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1639533

Title:
  Failure to update ~/.xsession-errors

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to