too secure!

Derek Martin dmartin at ne.arris-i.com
Fri Feb 11 10:54:55 EST 2000


On Fri, 11 Feb 2000 pfarrar at learningco.com wrote:

>      
>      Today I have the exact message:
>      
>      Xlib: connection to "NewBox.turtle.net:0.0" refused by server 
>      Xlib: Client is not authorized to connect to Server 
>      Error: Can't open display: NewBox.turtle.net:0 

Yep, that's an xauth issue.  Easiest way around this is to do a 

  xhost +  # disables X authentication completely 

or 

  xhost +host.connecting.from

Note: You run this command on the machine you want the X session to
display ON, not the machine where you are running the client.

BUT, if you need this machine to be secure, this is probably NOT what you
want.  In that case, take a look at 

  man xauth

It's much more complicated than xhost (and much more complicated than it
needs to be, if you ask me...) but it's also a whole lot more secure.  I
never use it, because I'm too damn lazy, and because I now use ssh which
does an end run around the whole issue by taking care of the xauth stuff
for you. :)

And, BTW, ssh ROCKS!

see http://www.openssh.com/

-- 
"Quis custodiet ipsos custodes?"    "Who watches the watchmen?" 
-Juvenal, Satires, VI, 347 

Derek D. Martin      |  Senior UNIX Systems/Network Administrator
Arris Interactive    |  A Nortel Company
derekm at mediaone.net  |  dmartin at ne.arris-i.com
-------------------------------------------------

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list