From owner-freebsd-questions Tue Sep 22 15:25:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16557 for freebsd-questions-outgoing; Tue, 22 Sep 1998 15:25:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from berry.cs.brandeis.edu (berry.cs.brandeis.edu [129.64.2.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA16513 for ; Tue, 22 Sep 1998 15:25:01 -0700 (PDT) (envelope-from waterman@cs.brandeis.edu) Received: from home (mg136-058.ricochet.net [204.179.136.58]) by berry.cs.brandeis.edu (8.8.8/8.8.8) with ESMTP id SAA05531; Tue, 22 Sep 1998 18:24:33 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by home (8.8.8/8.8.8) with ESMTP id PAA03125; Tue, 22 Sep 1998 15:25:45 -0700 (PDT) (envelope-from waterman@home) Message-Id: <199809222225.PAA03125@home> To: "David L. Vondrasek" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Xwindows from remote In-Reply-To: Your message of "Tue, 22 Sep 1998 13:46:12 PDT." References: Reply-To: waterman@acm.org Date: Tue, 22 Sep 1998 15:25:45 -0700 From: TS Waterman Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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