Bug#539367: gdm: Save '.xsession-errors' after session logout

Dominique Brazziel dbrazziel at snet.net
Fri Jul 31 05:32:15 UTC 2009


Package: gdm
Version: 2.20.9-1
Severity: wishlist

    After some trouble during a gdm session it is sometimes useful
to have a copy of the last .xsession-errors.  Attached is a sample
patch to save 7 versions of the file.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdm depends on:
ii  adduser                3.110             add and remove users and groups
ii  debconf [debconf-2.0]  1.5.27            Debian configuration management sy
ii  gksu                   2.0.2-2+b1        graphical frontend to su
ii  gnome-session [x-sessi 2.22.3-3          The GNOME 2 Session Manager
ii  gnome-terminal [x-term 2.26.2-2          The GNOME terminal emulator applic
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.26.0-1          The ATK accessibility toolkit
ii  libattr1               1:2.4.43-3        Extended attribute shared library
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libcairo2              1.8.6-2+b1        The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.80-4            simple interprocess messaging syst
ii  libdmx1                1:1.0.2-3         X11 Distributed Multihead extensio
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-4.1         FreeType 2 font engine, shared lib
ii  libglade2-0            1:2.6.4-1         library to load .glade files at ru
ii  libglib2.0-0           2.20.1-2          The GLib library of C routines
ii  libgnomecanvas2-0      2.26.0-1          A powerful object-oriented display
ii  libgtk2.0-0            2.16.1-2          The GTK+ graphical user interface 
ii  libpam-modules         1.0.1-9           Pluggable Authentication Modules f
ii  libpam-runtime         1.0.1-9           Runtime support for the PAM librar
ii  libpam0g               1.0.1-9           Pluggable Authentication Modules l
ii  libpango1.0-0          1.24.0-3+b1       Layout and rendering of internatio
ii  librsvg2-2             2.26.0-1          SAX-based renderer library for SVG
ii  librsvg2-common        2.26.0-1          SAX-based renderer library for SVG
ii  libselinux1            2.0.82-1          SELinux shared libraries
ii  libwrap0               7.6.q-18          Wietse Venema's TCP wrappers libra
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxau6                1:1.0.4-2         X11 authorisation library
ii  libxdmcp6              1:1.0.2-3         X11 Display Manager Control Protoc
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxi6                 2:1.1.4-1         X11 Input extension library
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.7.3.dfsg-2      GNOME XML library
ii  lsb-base               3.2-22            Linux Standard Base 3.2 init scrip
ii  metacity [x-window-man 1:2.26.0-3        lightweight GTK+ window manager
ii  twm [x-window-manager] 1:1.0.4-2         Tab window manager
ii  xterm [x-terminal-emul 243-1             X terminal emulator
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages gdm recommends:
ii  gdm-themes                    0.6.2      Themes for the GNOME Display Manag
ii  whiptail                      0.52.10-4  Displays user-friendly dialog boxe
ii  xserver-xephyr                2:1.4.2-11 nested X server
ii  xserver-xorg                  1:7.3+19   the X.Org X server
ii  zenity                        2.26.0-1   Display graphical dialog boxes fro

Versions of packages gdm suggests:
ii  libpam-gnome-keyring          2.26.1-1   PAM module to unlock the GNOME key
ii  locales                       2.9-12     GNU C Library: National Language (
ii  pm-utils                      1.2.5-4    utilities and scripts for power ma

-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm
-------------- next part --------------
--- Default.dist	2009-07-31 01:15:24.000000000 -0400
+++ Default	2009-07-31 01:15:24.000000000 -0400
@@ -19,4 +19,9 @@
   echo "$OUTPUT"
 }
 
+# Save the X session error file
+SAVELOG=$(gdmwhich savelog)
+SAVELOG_OPTS="$HOME/.xsession-errors"
+"$SAVELOG" "$SAVELOG_OPTS"
+
 exit 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Default
Type: text/x-shellscript
Size: 431 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090731/233e2cf8/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list