GNOME Bugzilla – Bug 531587
have gdm (gdm-session-worker?) save ~/.xsession-errors in ~/.xsession-errors.old
Last modified: 2008-05-08 03:13:09 UTC
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 have a suggested patch to gdm-session-worker.c. It does some minimal checks of access rights, but certainly this needs checking.
Created attachment 110417 [details] [review] patch to gdm-session-worker.c to save ~/.xsession-errors in ~/.xsession-errors.old Compiled and tested with Fedora package gdm-2.22.0-1.fc9.i386 Originally filed this in Fedora BZ: https://bugzilla.redhat.com/show_bug.cgi?id=445118
looks good. 2008-05-07 Ray Strode <rstrode@redhat.com> * daemon/gdm-session-worker.c (_open_session_log): Apply patch from Tom London <selinux@gmail.com> to save backup of .xsession-errors (bug 531587)