[comp.windows.open-look] The XDM stuff for OpenWindows from Andrew Rutherford.

csb@gdwb.oz.au (Craig Bishop) (05/01/91)

I have setup the xdm stuff and it seems to work fine after some tunning
to make it suit our site.

The problem I have noticed is that xdm is slow to bring up the login
widget after a user has logged out. Looking at the process on the
worksation I see the following.

  736 ?  IW    0:03 /usr/local/bin/X11/xnewsdm -config /usr/local/lib/X11/xdm/x
  787 ?  S <   0:19 /usr/openwin/bin/xnews :0.0 -auth /tmp/.Xauthority
  825 ?  S     0:00 /usr/local/bin/X11/xnewsdm -config /usr/local/lib/X11/xdm/x

followed about a minute or two later by

  736 ?  IW    0:03 /usr/local/bin/X11/xnewsdm -config /usr/local/lib/X11/xdm/x
  828 ?  IW<   0:07 /usr/openwin/bin/xnews :0.0 -auth /tmp/.Xauthority
  831 ?  IW    0:00 -:0.0 (xnewsdm)

The first is just after the user has logged out and the second just
after the login widget appears.

Should the xnews server die after receiving the HUP signal?

Should xdm be trying to start another server?

The following errors appear in /tmp/xdm-errors,

XNeWS Network security violation
        Rejected connection from: fantasy.isd.gdwb.OZ.AU
Xlib:  connection to ":0.0" refused by server
Xlib:  Client is not authorized to connect to server
XNeWS Network security violation
        Rejected connection from: fantasy.isd.gdwb.OZ.AU
Xlib:  connection to ":0.0" refused by server
Xlib:  Client is not authorized to connect to server
XNeWS Network security violation
        Rejected connection from: fantasy.isd.gdwb.OZ.AU
Xlib:  connection to ":0.0" refused by server
Xlib:  Client is not authorized to connect to server
XNeWS Network security violation
        Rejected connection from: fantasy.isd.gdwb.OZ.AU
Xlib:  connection to ":0.0" refused by server
Xlib:  Client is not authorized to connect to server
XNeWS Network security violation
        Rejected connection from: fantasy.isd.gdwb.OZ.AU
Xlib:  connection to ":0.0" refused by server
Xlib:  Client is not authorized to connect to server
error (pid 890): server open failed for :0.0, giving up

The 890 refers to the xnews server which ran during the users session.
The 890 does not match the ps's above.

I also want the following X11 commands to be in effect when xdm is
displaying the login widget,

	xsetroot -solid #d3d0d2

to set the colour of the workspace and

	xset s 600 60 s noblank

to run screen saving while a workstation is in use.

Does anyone know how to do this?

Craig Bishop			Geelong & District Water Board
Phone: +61 52 262506		61-67 Ryrie St Geelong
Fax:   +61 52 218236		Victoria 3220 Australia

--
Craig Bishop			Geelong & District Water Board
Phone: +61 52 262506		61-67 Ryrie St Geelong
Fax:   +61 52 218236		Victoria 3220 Australia