Package: gdm Version: 2.20.2-1 Severity: normal Hi,
with #411639, X11 now supports loading user environment variables put in $HOME/.xsessionrc. This is done with /etc/X11/Xsession.d/40x11-common_xsessionrc. It's a file in /etc/X11/Xsession.d, so it's sourced by gdm from /etc/gdm/Xsession (wich is good), but $USERXSESSIONRC is not set in /etc/gdm/Xsession (while it's set in /etc/X11/Xsession). It'd be nice if this variable could be set in gdm too. Attached patch fixes this. Thanks, and regards. -- Yves-Alexis Perez -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-rc6 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages gdm depends on: ii adduser 3.105 add and remove users and groups ii debconf [debconf-2. 1.5.17 Debian configuration management sy ii gksu 2.0.0-5 graphical frontend to su ii libart-2.0-2 2.3.19-3 Library of functions for 2D graphi ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit ii libattr1 1:2.4.39-1 Extended attribute shared library ii libc6 2.7-5 GNU C Library: Shared libraries ii libcairo2 1.4.12-2 The Cairo 2D vector graphics libra ii libdbus-1-3 1.1.2-1 simple interprocess messaging syst ii libdbus-glib-1-2 0.74-1 simple interprocess messaging syst ii libdmx1 1:1.0.2-2 X11 Distributed Multihead extensio ii libfontconfig1 2.5.0-2 generic font configuration library ii libglade2-0 1:2.6.2-1 library to load .glade files at ru ii libglib2.0-0 2.14.4-2 The GLib library of C routines ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display ii libgtk2.0-0 2.12.3-2 The GTK+ graphical user interface ii libpam-modules 0.99.7.1-5 Pluggable Authentication Modules f ii libpam-runtime 0.99.7.1-5 Runtime support for the PAM librar ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l ii libpango1.0-0 1.18.3-1 Layout and rendering of internatio ii librsvg2-2 2.18.2-1 SAX-based renderer library for SVG ii librsvg2-common 2.18.2-1 SAX-based renderer library for SVG ii libselinux1 2.0.15-2+b1 SELinux shared libraries ii libwrap0 7.6.dbs-14 Wietse Venema's TCP wrappers libra ii libx11-6 2:1.0.3-7 X11 client-side library ii libxau6 1:1.0.3-2 X11 authorisation library ii libxdmcp6 1:1.0.2-2 X11 Display Manager Control Protoc ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar ii libxi6 2:1.1.3-1 X11 Input extension library ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library ii libxml2 2.6.30.dfsg-3 GNOME XML library ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip ii openbox [x-window-m 3.4.4-3 standards compliant, fast, light-w ii tilda [x-terminal-e 0.09.4+cvs20071012-1 terminal emulator with first perso ii xbase-clients 1:7.3+9 miscellaneous X clients - metapack ii xfce4-terminal [x-t 0.2.8-2 Xfce terminal emulator ii xfwm4 [x-window-man 4.4.2-1 window manager of the Xfce project ii xterm [x-terminal-e 229-1 X terminal emulator Versions of packages gdm recommends: ii gdm-themes 0.5.1 Themes for the GNOME Display Manag ii whiptail 0.52.2-11.1 Displays user-friendly dialog boxe ii xnest 2:1.4.1~git20071212-2 Nested X server ii xserver-xorg 1:7.3+9 the X.Org X server ii zenity 2.20.1-1 Display graphical dialog boxes fro -- debconf information: gdm/daemon_name: /usr/bin/gdm * shared/default-x-display-manager: gdm
--- /etc/gdm/Xsession.orig 2008-01-01 16:47:52.000000000 +0100 +++ /etc/gdm/Xsession 2008-01-01 16:48:14.000000000 +0100 @@ -96,6 +96,7 @@ SYSSESSIONDIR=/etc/X11/Xsession.d USERXSESSION=$HOME/.xsession +USERXSESSIONRC=$HOME/.xsessionrc ALTUSERXSESSION=$HOME/.Xsession # this will go into the .xsession-errors along with all other echo's