From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076332421132.tru64-unix-managers.marc@archive.invalid> From: "Neil R. Smith" Date: Wed, 01 May 1996 20:02:31 +0000 To: tru64-unix-managers Subject: X server access authority? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076332421132 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