Bug 1977

Summary: (not kterm, kdebase!): kdm puts funny error in syslog
Product: [Retired] Red Hat Raw Hide Reporter: Jay Freeman <saurik>
Component: XFree86Assignee: Preston Brown <pbrown>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-05-04 16:49:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jay Freeman 1999-04-04 07:54:13 UTC
Every time a user connects to kdm, the following message is
logged:

Apr  4 01:50:00 ironclad kdm[19848]: can't execute
"/usr/X11R6/lib/X11/xdm/Xsetup" (err 2)

I assume this is because the file that is there instead,
Xsetup_0, was renamed to that to allow a different Xsetup
file per X host, but kdm wasn't updated to this fact.  A
symlink would be easiest, but it would be nice if kdm had
this functionality as well.

BTW, kde* is missing from your component menu.

Comment 1 Cristian Gafton 1999-04-07 17:11:59 UTC
assigned to pbrown

Comment 2 Preston Brown 1999-04-07 18:13:59 UTC
you must have edited your /etc/X11/xdm/xdm-config at some time, or
have an older version, because the version we ship does point
correctly at Xsetup_0 not plain Xsetup.

Comment 3 Jay Freeman 1999-04-24 16:10:59 UTC
[root(2)@ironclad xdm]# rpm -q XFree86 kdebase
XFree86-3.3.3.1-41
kdebase-1.1-11
[root(2)@ironclad xdm]# rpm -V XFree86 kdebase | grep -
v "/usr/share/icons"
S.5....T c /etc/X11/xdm/Xservers
S.5....T c /etc/X11/xdm/Xsession
[root(2)@ironclad xdm]# grep Xsetup xdm-config # this part is right
DisplayManager._0.setup:        /etc/X11/xdm/Xsetup_0
[root(2)@ironclad xdm]# /etc/rc.d/init.d/xdm start
Starting KDE Display Manager:                              [  OK  ]

## Attempt remote connect from saurik.saurik.com ##

[root(2)@ironclad xdm]# tail /var/log/messages -n 6
Apr 24 11:04:26 ironclad xdm: kdm startup succeeded
Apr 24 11:04:55 ironclad kdm[20273]: can't
execute "/usr/X11R6/lib/X11/xdm/Xsetup" (err 2)
Apr 24 11:04:55 ironclad kdm[20274]: IO Error in XOpenDisplay
Apr 24 11:04:55 ironclad kdm[20266]: Display saurik:0 cannot be
opened
Apr 24 11:04:55 ironclad kdm[20266]: Display saurik:0 is being
disabled
Apr 24 11:04:58 ironclad kdm[20278]: can't
execute "/usr/X11R6/lib/X11/xdm/Xsetup" (err 2)

Now I am even getting the XOpenDisplay problem which I wasn't
before.  On top of all this, kdm DOES come up on the remote screen.
Now, let's log in:

[root(2)@ironclad xdm]# tail /var/log/messages -n 3
Apr 24 11:06:50 ironclad PAM_pwdb[20275]: (kde) session opened for
user saurik by (uid=0)
Apr 24 11:06:50 ironclad kdm[20266]: Unknown session exit code 2816
from process 20275
Apr 24 11:06:53 ironclad kdm[20385]: can't
execute "/usr/X11R6/lib/X11/xdm/Xsetup" (err 2)

Unknown exit code from 20275? PAM_pwdb?  At this point my login is
snuffed and I get disconnected.