Bug#573921: .xsession isn't read after update to xdm 1.1.9-1
Package: xdm
Version: 1:1.1.9-1
Severity: grave
Justification: renders package unusable
After the update to 1.1.9-1, it seems to me that xdm no longer reads .xsessionrc.
I've had this same setup for quite some time now. I boot into xdm, and xdm loads up i3 (my window manager) after setting my wallpaper with hsetroot. Here's my .xsession:
hsetroot -fill ~/wallpapers/current.jpg
exec i3
I also use a .xsessionrc file:
.. $HOME/.profile
In order to make sure it wasn't my settings that were getting in the way, I moved .bash*, .profile, and .xsessionrc to another directory and copied over everything from /etc/skel. After restarting the xdm service, the result was the same, so I don't think it's my settings. I don't remember ever messing with /etc/X11 (except for xorg.conf) either (I hardly ever edit files in /etc, as I prefer to perform the changes locally when needed).
To make sure there aren't leftovers, I uninstalled and reinstalled xdm (note that I have --purge in my apt settings, so the conf files should have been erased between during this process). The result is still the same.
Right now I'm using startx, and .xinitrc is a symlink to .xsession and it's working just fine. both i3 and hsetroot are in my path (they're in /usr/bin) and they haven't been updated recently, afaik.
I can't reproduce this bug on my laptop, which runs unstable as well, but amd64. It also got the xdm update today, but xdm works just fine. The only other unusual settings in this machine are some extra apt settings (placed in /etc/apt/conf.d/99local):
APT::Install-Recommends "0";
APT::Get::AutomaticRemove "1";
APT::Get::Purge "1";
Other than that, I don't think there's anything unusual about this machine. The amd64 laptop is configured pretty much the exactly way.
I updated this machine earlier today (maybe 4 hours ago). 30 minutes ago I had a power outage. When I booted up again (running xdm for the first time since the update), I found myself in this situation. I don't think the power outage is related at all to this, though, as the update was long before the power outage and I didn't get any ext3 warnings. Btw, this is an ext3 root file system (/home resides in a separate partition) with all "stock" options, i.e., I didn't configure anything with tune2fs or anything like that.
I'm under the impression that either .xsession isn't being read and so an xterm is spawned by xdm. .xsession is 0644, btw.
To sum it up:
- Expected behavior: xdm should launch my window manager after login
- Current situation: xdm launches an xterm (no wm is running)
Please let me know of any other information you guys might need.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xdm depends on:
ii cpp 4:4.4.3-1 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libpam0g 1.1.1-2 Pluggable Authentication Modules l
ii libselinux1 2.0.89-4 SELinux runtime shared libraries
ii libx11-6 2:1.3.3-2 X11 client-side library
ii libxau6 1:1.0.5-2 X11 authorisation library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxdmcp6 1:1.0.3-2 X11 Display Manager Control Protoc
ii libxext6 2:1.1.1-3 X11 miscellaneous extension librar
ii libxft2 2.1.14-2 FreeType-based font drawing librar
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
ii libxmu6 2:1.0.5-1 X11 miscellaneous utility library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii libxrender1 1:0.9.5-2 X Rendering Extension client libra
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii procps 1:3.2.8-8 /proc file system utilities
ii x11-common 1:7.5+4 X Window System (X.Org) infrastruc
ii x11-utils 7.5+3 X11 utilities
ii x11-xserver-utils 7.5+1+b1 X server utilities
xdm recommends no packages.
xdm suggests no packages.
-- debconf information:
xdm/stop_running_server_with_children: false
xdm/daemon_name: /usr/bin/xdm
* shared/default-x-display-manager: xdm
Reply to: