Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 18225 - Users not logged on when using kdm
Users not logged on when using kdm
Product: Red Hat Linux
Classification: Retired
Component: xinitrc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
: 18311 23890 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2000-10-03 11:53 EDT by Ian Pilcher
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-08 00:30:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ian Pilcher 2000-10-03 11:53:28 EDT
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.)
Comment 1 Michael Schwendt 2000-10-08 00:30:05 EDT
Same here.
Comment 2 Ngo Than 2000-10-11 09:56:03 EDT
it's fixed in xinitrc-3.1-1
Comment 3 Michael Schwendt 2000-10-13 01:31:01 EDT
What the heck is xinitrc-3.1-1? In current rawhide there is no such package
version, but just xinitrc-3.0-1.
Comment 4 Bernhard Rosenkraenzer 2000-11-03 05:04:03 EST
Rawhide is always a couple of days behind our internal builds, it should be there now.
Comment 5 Bernhard Rosenkraenzer 2000-11-03 05:04:12 EST
*** Bug 18311 has been marked as a duplicate of this bug. ***
Comment 6 Bernhard Rosenkraenzer 2001-01-15 16:28:28 EST
*** Bug 23890 has been marked as a duplicate of this bug. ***
Comment 7 Ian Pilcher 2001-01-21 14:50:21 EST
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'?

Note You need to log in before you can comment on or make changes to this bug.