X server access authority?

From: Neil R. Smith <neils_at_csrp.tamu.edu>
Date: Wed, 01 May 1996 15:02:31 -0500

Geetings managers.

Alpha 3000/600, DU 3.2c

The dxbook source was not complete enough on the subject to solve our
problem. Perhaps some of you could help.

We have a script that when run on Alpha#1 needs to open a window on
another Alpha#2 (for discussion purposes) regardless of the user logged
in, and even to the login screen. The script sets the DISPLAY variable
to the Alpha#2: "setenv DISPLAY Alpha#2.domain.edu:0.0".

On the Alpha#2, the /etc/X0.hosts file has the one entry:
"Alpha#1.domain.edu". Now when the script is run on Alpha#1, we get the
typical error

Xlib: connection to "Alpha#2.domain.edu:0.0" refused by server
Xlib: Client is not authorized to connect to Server
scriptname: Can't open display

How are we to accomplish this? Note that we want to be able to display
also to the login window. Now, the online docs say:

     Another host-based security mechanism involves using
     the /etc/Xn.hosts file to list systems that can access the
     local server, specified by n. However, this method is not
     recommended because it is hard to maintain a truly limited list
     of hosts if more than one user has access to the workstation
     where the list resides and because the method allows access to
     the X server at any time, even when the xdm login window is
     displayed.

Thanks in advance.
-Neil
Received on Wed May 01 1996 - 22:23:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT