Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Sep 1998 18:22:43 -0500
From:      "Richard E. Hawkins Esq." <hawk@eyry.econ.iastate.edu>
To:        nrahlstr@FreeBSD.ORG
Cc:        vega vega <vega1@rocketmail.com>, questions@FreeBSD.ORG
Subject:   Re: how do i authorize my sys to connect to an X server on my shell? 
Message-ID:  <m0zEiiB-0003A0C@eyry.iastate.edu>
In-Reply-To: Your message of "Thu, 03 Sep 1998 16:16:19 CDT." <Pine.GSO.3.96.980903161526.24889B-100000@tundra.winternet.com> 

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

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 +<server name>
> 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 <clippedstuf>

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



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