Bug#444483: xdm: pam_env variables are not passed on to x-window-manager
Package: xdm
Version: 1:1.1.6-3
Severity: normal
When I log in through xdm, I don't get $LANG set from /etc/environment
as it is when logging in through login/ssh/etc.
Peeking into /proc, I see that the xdm, X and -:0 processes all have
their $LANG set correctly, but x-window-manager doesn't. This is
confirmed by replacing the latter with a shell script; see the attached
output, which is indeed missing $LANG.
(I'm quite a bit intrigued, as I did see that xdm tries to play nice
with pam_env when grepping the code. Maybe the bug lies elsewhere in
the X universe, but it's too big a universe for me to comprehend, and
things work fine when running startx, so I'm filing against this
package. Sorry if I'm wrong.)
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.21-2-k7 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xdm depends on:
ii cpp 4:4.2.1-6 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii libc6 2.6.1-5 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library
ii libpam0g 0.99.7.1-4 Pluggable Authentication Modules l
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxau6 1:1.0.3-2 X11 authorisation library
ii libxaw7 2:1.0.4-1 X11 Athena Widget 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 libxft2 2.1.12-2 FreeType-based font drawing librar
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library
ii libxpm4 1:3.5.7-1 X11 pixmap library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii x11-common 1:7.3+2 X Window System (X.Org) infrastruc
ii xbase-clients 1:7.3+2 miscellaneous X clients - metapack
xdm recommends no packages.
-- debconf information:
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/xdm
* shared/default-x-display-manager: xdm
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-hRhtVfVu7S,guid=89b2436c01ca73b6abbaf00046fd7cbb'
DISPLAY=':0'
HOME='/home/fbriere'
IFS='
'
LOGNAME='fbriere'
OPTIND='1'
PATH='/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games'
PPID='30290'
PS1='$ '
PS2='> '
PS4='+ '
PWD='/home/fbriere'
SHELL='/bin/bash'
SSH_AGENT_PID='30329'
SSH_AUTH_SOCK='/tmp/ssh-YQUOq30305/agent.30305'
USER='fbriere'
WINDOWPATH='7'
Reply to: