tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Neil R. Smith" <neils () csrp ! tamu ! edu>
To: tru64-unix-managers
Subject: X server access authority?
Date: Wed, 01 May 1996 20:02:31 +0000	[thread overview]
Message-ID: <96076332421132.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1996-05-01 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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