This is actually a 6.5 bug, but that product version wasn't available to select.<br />
(edit: changed to 6.5, product version is available)<br />
<br />
After updating to 6.5, a user's ~/.Xclients file is no longer controlling their desktop environment. Some digging around, I found that between 6.4 and 6.5, there was one change in /etc/gdm/Xsession. In CentOS 6.4, this file contained these lines:<br />
<br />
# RHEL6 GDM doesn't seem to support selectable sessions, and always requests a<br />
# gnome-session. So we unset this default here, to allow things like user<br />
# .xsession or .Xclients files to be checked, and /etc/sysconfig/desktop<br />
# settings (via /etc/X11/xinit/Xclients) honoured.<br />
if [ -n "$GDMSESSION" -a $# -eq 1 -a "$1" = gnome-session ]; then<br />
shift<br />
fi<br />
<br />
<br />
These lines are now missing from /etc/gdm/Xsession. Replacing the 6.5 version of this file with the 6.4 restores the desired behavior.
↧