When kdm is used as the X display manager, users are not properly logged in. At a minimum, /etc/profile is not being run, so any scripts in /etc/profile.d are not run either. In addition to leaving users' PATHs and other environment variables incorrect, this prevents the Delete key from functioning on my system. I have traced this problem to a change in /etc/X11/xdm/Xsession. In Red Hat 6.2, the first line of this script was "#!/bin/bash -login"; it has been changed to "#!/bin/sh". (Note: I believe that bug #17873 was caused by an initial workaround to the PATH symptom.)
Same here.
it's fixed in xinitrc-3.1-1
What the heck is xinitrc-3.1-1? In current rawhide there is no such package version, but just xinitrc-3.0-1.
Rawhide is always a couple of days behind our internal builds, it should be there now.
*** Bug 18311 has been marked as a duplicate of this bug. ***
*** Bug 23890 has been marked as a duplicate of this bug. ***
I have updated to xinitrc-3.1-1, and PATH is still not set correctly when I log in as root via kdm. Changing the first line of Xsession from "#!/bin/sh -login" to "#!/bin/bash -login" fixes the problem. I don't understand why this is the case, because /bin/sh is a symlink to /bin/bash on my system. Perhaps bash behaves differently when it is run as 'sh'?