Red Hat Bugzilla – Bug 445118
RFE: have gdm (gdm-session-worker?) save ~/.xsession-errors in ~/.xsession-errors.old
Last modified: 2015-01-14 18:21:05 EST
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):
Steps to Reproduce:
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
Sure, I think a patch like that probably makes sense. Would you mind filing the
patch upstream though?
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