Ok, thanks, Daniel. This way I learned something new. :)

I think the reason for the confusion is that  stderr is already
redirected when the code in ~/.profile is run. It's done through this
line in /usr/sbin/lightdm-session:

  . "$CONFIG_FILE" 2>"$ERR"

So if you want it to work as before, you need to modify your redirects
(I'm not able to tell exactly how, though). Otherwise things probably
don't end up as you expect, even if you were able to avoid the error
dialog by moving down the 'set -x' statement.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/678421

Title:
  Error message for a faulty ~/.profile script

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/678421/+subscriptions

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

Reply via email to