Summary: How the /etc/X0.hosts works?

From: Hao Wang (hwang@sunvm1.corp.mot.com)
Date: Thu Sep 23 1993 - 22:18:30 CDT


Howdy,

I posted following to the list couple days ago.

>I have Sun SPARCstation 2 running Sun OS 4.1.3 and OW 3.1. I edited the
>/etc/X0.hosts file and put one system's hostname with domain name in the
>file. I restart the system. Then telnet to that system. Set the display.
>Start the X client application. But I still get following error message.
>
>Xlib: connection to "my_sun_sparc2:0.0" refused by server
>Xlib: Client is not authorized to connect to server
>Could not open display my_sun_sparc2:0
>
>Why this not working? Thanks for all help.
>

The general response to this was use xhost command. Among the others. One
form Michael Sullivan mentioned that the /etc/X*.hosts is disabled by default.
The xnews uses MIT magic cookie authorization protocol. Another one from
Thomas W Oliver who also mentioned about the magic cookie security and pointed
that the openwindow started with -auth <authfile> option. (The authfile is set
up as $HOME/.xnews.<MACHINENAME>:0). Use -noauth option to enable the
/etc/X0.hosts.

Thanks very much to:

Thomas W Oliver <oliver@ast.saic.com>
Michael Sullivan <mike@trdlnk.chil.il.us>
Brian Decker <brian@arthur.melpar.esys.com>
Andrew Benson <drew@mtu.edu>
Randy Olsson <rao@calvin.crc.com>
Ronald Mulligan <rmulligan@dehavilland.ca>
Kevin Sheehan <kevin@uniq.com.au>
Sumner Hushing <hushing@gdwest.gd.com>
Bruce Kall <bruce@Brainstorm.mayo.EDU>
                       <shenry@ucs.att.com>

--Hao



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:16 CDT