Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 15:25:45 -0700
From:      TS Waterman <waterman@cs.brandeis.edu>
To:        "David L. Vondrasek" <dallas.tx@airmail.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Xwindows from remote 
Message-ID:  <199809222225.PAA03125@home>
In-Reply-To: Your message of "Tue, 22 Sep 1998 13:46:12 PDT." <Pine.BSF.4.03.9809221345440.29981-100000@resnet.uoregon.edu> 
References:  <Pine.BSF.4.03.9809221345440.29981-100000@resnet.uoregon.edu>  

next in thread | previous in thread | raw e-mail | index | archive | help

Doug White writes:
 >On Tue, 22 Sep 1998, David L. Vondrasek wrote:
 >
 >> OK I have a question I'm sure one of you can answer I hope.
 >> I'm loged in to my 2.2.7 box (-tabletop- 10.124.239.13 ) under X
 >> (AfterStep) and open a xterm and telnet to another box on the local
 >> network (-stumbleinn- 10.124.239.12). on .12 I issue this command to set
 >> the display env ( I think it's correct )
 >> 
 >> setenv DISPLAY 10.124.239.13:0.0
 >> 
 >> (I have it as a alais so all I do is type 'mx' ) I use it to run a WIN
 >> X-server on -tabletop- when it's under a Windows XSERVER and it works.
 >>  
 >> 
 >> But, when I try to run a X program on -stumbleinn- I get this error.
 >> 
 >> -------------------------
 >> 
 >> david@stumbleinn:/home/david : xsysinfo &
 >> [1] 8078
 >> david@stumbleinn:/home/david : Xlib: connection to "10.124.239.13:0.0"
 >> refused by server
 >> Xlib: Client is not authorized to connect to Server
 >> Error: Can't open display: 10.124.239.13:0.0
 >
 >You need to alow 10.124.239.13 to attach to your server. Run
 >
 >xhost +10.124.239.13
 >

I think the server and client machine are getting mixed up here.
That would be, on tabletop (10.124.239.13) run 
% xhost +10.124.239.12

But again, you need to make sure your X server is using xhosts, and
not the mit magic cookie stuff.  See the man for 'xauth' and 'Xsecurity'.
--ts

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809222225.PAA03125>