Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* dxsession and xdm ping timeouts
@ 1994-02-08 17:38 Larry Cannell
  0 siblings, 0 replies; only message in thread
From: Larry Cannell @ 1994-02-08 17:38 UTC (permalink / raw)


I've just researched a problem that I think some of you may be interested in
knowing about.  It has to do with dxsession, its use of XGrabServer, and XDM's
use of PingTimeout.

We use XDM R5 on our Ultrix 4.3a systems.  I ftped this version of XDM from
gatekeeper and it runs quite well (much better than the XDM R4 on the 
unsupported tape).  When we started to deploy X terminals we immediately
started getting complaints from users who said that their session was being
killed a few minutes after they paused it. Here is the cause of the problem and
a workaround solution:

- dxsession under Ultrix appears to issue an XGrabServer to tie up the X
server's keyboard and mouse.  I found this out with an X trace utility that's
part of my X window PC package.  Interestingly enough OSF/1's dxsession does
not use XGrabServer but appears to explicitly grab the keyboard and mouse with
XGrabKeyboard and XGrabButton (or something like this).

- XDM has a couple of resources, pingInterval and pingTimeout, which determines
how often XDM will send a XSync to the remote server to see if it is still
alive. I had previously set these lower than the default to catch the user
who had turned off their X terminal.

- when the X server is grabbed via the XGrabServer call the server is 
apparently unable to respond to the XSync call.  XDM interprets this as
a dead server and send an reset to the server which apparently gets through.

- The workaround is to specify a large value for pingInterval in the xdm-config
file. If Ultrix's dxsession is ever fixed then this workaround isn't needed
and would probably not be desirable.

--
Larry Cannell (cannell@ed8200.ped.pto.ford.com)
Powertrain Electronics
Ford Motor Company


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-02-08 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-08 17:38 dxsession and xdm ping timeouts Larry Cannell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox