Description of problem: It would ease debugging session related issues if gdm were to save the current ~/.xsession-errors (for example, as ~/.xsession-errors.old). This is parallel to what Xserver does with /var/log/Xorg.0.log. That way, you could log back in normally and still see "what happened". Otherwise, you have to remember to boot up in runlevel 3, or Cntl-Alt-F1 etc. I tried adding 'mv -f "$errfile" "$errfile.old"' to /etc/X11/xinit/Xsession to no avail, so I'm guessing that this is now handled in a gdm-related command (gdm-session-worker has the string......). Version-Release number of selected component (if applicable): gdm-2.22.0-1.fc9.i386 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I've located the code '_open_session_log()' in gdm-session-worker.c, and that looks like the relevant piece of code. If that is correct (and this is a useful change), I can try making a patch for this.....
Sure, I think a patch like that probably makes sense. Would you mind filing the patch upstream though?
No problem. I'm downloading the current source so I can post a "current" patch. I'll reference this BZ on the upstream post.
Upstream RFE/patch filed here: http://bugzilla.gnome.org/show_bug.cgi?id=531587