From: steve@pitacat.math.cwru.edu (Steven H. Izen)
Newsgroups: comp.windows.x.i386unix
Subject: xhost doesn't work Xfree86
Date: 22 Jan 1993 18:01:44 GMT
Organization: Math Department, Case Western Reserve University
Lines: 47
Sender: steve@pitacat (Steven H. Izen)
Distribution: world
Message-ID: <1jpcq8INN9k1@usenet.INS.CWRU.Edu>
NNTP-Posting-Host: pitacat.math.cwru.edu
I cam having trouble connecting to the Xserver from a remote client. System config: ISC 3.0, Trident 8900C chip set. Xfree86 1.2., ISC tcp/ip 1.3, with the IP connection between the two machines being by SLIP.
I have /etc/X0.hosts set up to allow pitacat.math.cwru.edu to access the server.
When I run xhosts on izen386 (an alias for shi-slip) I get:
izen386 [84]% /usr/X11R5/bin/xhost
access control enabled, only authorized clients can connect
shi-slip.DIALIN.CWRU.Edu
pitacat.MATH.CWRU.Edu
Ok, then from pitacat, the following doesn't work:
pitacat [9]% xdpyinfo
Xlib: connection to "izen386:0.0" refused by server
Xlib: Client is not authorized to connect to Server
xdpyinfo: unable to open display "izen386:0".
So then I tried the following on izen386:
izen386 [85]% xhost +
all hosts being allowed (access control disabled)
XIO: fatal IO error 77 on X server "unix:0.0"
Not a data message
after 5 requests (2 known processed) with 0 events remaining.
And I also tried:
izen386 [88]% /usr/X11R5/bin/xhost +pitacat
pitacat being added to access control list
XIO: fatal IO error 77 (Not a data message) on X server "unix:0.0"
after 5 requests (2 known processed) with 0 events remaining.
So I tried it from pitacat, with DISPLAY set to izen386:0.
pitacat [11]% xhost +
Xlib: connection to "izen386:0.0" refused by server
Xlib: Client is not authorized to connect to Server
xhost: unable to open display "izen386:0"
Local clients on izen386 have no trouble connecting to the server. What am I missing? I used to connect all the time with no trouble with ISC's version of
X. Any ideas?
Thanx,
Steve Izen.
--
Steve Izen, Associate Prof. of Mathematics, Case Western Reserve University
Best Address: MaBell: Voice: (216)368-2891 Fax: (216)368-5163
shi@po.cwru.edu Next best address: steve@pitacat.math.cwru.edu