From owner-freebsd-questions Thu Sep 3 15:15:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA04067 for freebsd-questions-outgoing; Thu, 3 Sep 1998 15:15:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from eyry.iastate.edu (eyry.econ.iastate.edu [129.186.32.221]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA04044; Thu, 3 Sep 1998 15:15:07 -0700 (PDT) (envelope-from hawk@eyry.econ.iastate.edu) Received: from eyry.econ.iastate.edu (really [127.0.0.1]) by eyry.econ.iastate.edu via in.smtpd with esmtp (ident hawk using rfc1413) id (Debian Smail3.2.0.101) for ; Thu, 3 Sep 1998 18:22:43 -0500 (CDT) Message-Id: X-Mailer: exmh version 2.0.2 2/24/98 (debian) To: nrahlstr@FreeBSD.ORG cc: vega vega , questions@FreeBSD.ORG Subject: Re: how do i authorize my sys to connect to an X server on my shell? In-reply-to: Your message of "Thu, 03 Sep 1998 16:16:19 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Sep 1998 18:22:43 -0500 From: "Richard E. Hawkins Esq." Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG nathan wrote, > > Xlib: Client is not authorized to connect to Server > > Xlib: connection to "129.21.11.14:0.0" refused by server > > Xlib: Client is not authorized to connect to Server > > workshop: Can't open display, exiting... > > this is the message i get when i try to use any > > program that requires X. ive already set DISPLAY to > > my ip but it gives me that... > did you run > xhost + > on the client machine? that's not as secure. If you use xauth list $DISPLAY in a valid window, clip the "MIT-MAGIC-COOKIE abc123....90" and enter xauth add $DISPLAY you'll stay secure. xhost + other.machine lets anyone on that machine launch to your display. And apparently there're a couple of nasties out there to sabatoge your system once this happens. rick -- These opinions will not be those of ISU until it pays my retainer. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message