Public bug reported: LightDM uses always $HOME/.xsession-errors as the log file because is harcoded in xsession.c. But sometimes you want to use a logfile outside your $HOME, suposse your $HOME is in an SSD and you want to minimize writes, so you want to put it in /tmp/${USER}_xsession-errors for example. If you try to make a $HOME/.xsession_errors -> /tmp/{$USER }_xsession-errors symlink to cheat LightDM, then LightDM will recreate the $HOME/.xsession_errors file and the hack will not work.
LightDM _always_ recreates $HOME/.xsession_errors and you can't change it without recompiling. So, I think this log file needs to be configurable, or at least preserve the symlink if one is present. Ubuntu 12.04 LTS LightDM 1.2.1-0ubuntu1 ** Affects: lightdm (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001035 Title: lightdm uses a hardcoded path to .xsession-errors, please make it configurable To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1001035/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs