As Dan O'Huiginn noted, the Debian fix does not apply to Ubuntu, as Ubuntu's x-window-manager packages use /usr/share/xsessions.
As Dan O'Huiginn noted, the Debian fix does not apply to Ubuntu, as Ubuntu's x-window-manager packages use /usr/share/ xsessions.