henk@cs.vu.nl (Henk Smit) (09/12/90)
Hello Netlanders,
We recently started using xdm to manage our X terminal's.
Frequently I see hanging processes (children of xdm) on the Sun's that manage
our X terminals.
When a user turns off his X terminal right after logging out, xdm often hangs
while trying to "xrdb". When the user switches the X terminal on again, xdm
creates a new child to manage the X terminal, but the xrdb of the previous
session still hangs.
There are no errors in the xdm logfile.
Has anybody out there ever seen this behavior ?
Please mail me I if you can help.
Thanks in advance,
Henk.
--
Henk Smit Fac. Informatica VU A'dam
Internet: henk@cs.vu.nl Boelelaan 1081 k. S410
Phone: +31 20 5486218 1081 HV Amsterdam Holland
--
Additional information:
X11R4 patchlevel 14.
Xdm runs on sun3's and sun4's (SunOS 4.0.3).
X terminals are from NCD.
"ps -axl" gives something like:
F UID PID PPID CP PRI NI SZ RSS WCHAN STAT TT TIME COMMAND
....
8000 0 132 1 1 1 0 72 0 select IW ? 0:05 /usr/X11/xdm -config /usr/share/X11/xdm/xdm-config
408001 0 11328 132 0 5 0 136 168 child I ? 0:01 -ncdu44:0 (xdm)
8001 0 13205 132 0 1 0 120 224 select S ? 0:00 -ncdu45:0 (xdm)
8000 0 16306 1 1 5 0 32 0 child IW ? 0:00 sh -c /usr/share/X11/xdm/xdm-xrdb -display ncdu44:0 -load /usr/share/X11/xdm/.Xdmresources
8000 0 16307 16306 3 5 0 32 0 child IW ? 0:00 sh /usr/share/X11/xdm/xdm-xrdb -display ncdu44:0 -load /usr/share/X11/xdm/.Xdmresources
8000 0 16309 16307 0 1 0 72 0 select IW ? 0:00 @ (xrdb)
....
- I start xdm this way:
/usr/X11/xdm -config /usr/share/X11/xdm/xdm-config
- In /usr/share/X11/xdm/xdm-config I have:
DisplayManager.servers: /etc/Xservers
DisplayManager.errorLogFile: /var/log/xdmlog
DisplayManager*resources: /usr/share/X11/xdm/.Xdmresources
DisplayManager*session: /usr/share/X11/xdm/xdm-session
DisplayManager*authorize: false
DisplayManager*xrdb: /usr/share/X11/xdm/xdm-xrdb
- In /usr/share/X11/xdm/xdm-xrdb I have:
#!/bin/sh
#
/usr/X11/xrdb -DHNAME=`hostname` $*
- In /usr/share/X11/xdm/.Xdmresources I have:
/*
* X Resources database settings
* for X Display Manager.
*/
*Login.greeting: Welcome on HNAME
--
Henk Smit Fac. Informatica VU A'dam
Internet: henk@cs.vu.nl Boelelaan 1081 k. S410
Phone: +31-20-548-6218 1081 HV Amsterdam Holland