Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 1998 19:45:15 -0700 (PDT)
From:      vega vega <vega1@rocketmail.com>
To:        questions@FreeBSD.ORG
Subject:   Re: how do i authorize my sys to connect to an X server on my shell? 
Message-ID:  <19980912024515.27550.rocketmail@web4.rocketmail.com>

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






---"Richard E. Hawkins Esq."
<hawk@eyry.econ.iastate.edu> wrote:
>
> 
> 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
 i tried both suggestions and it is still not working
for me (sorry ive been busy this is the earliest ive
been able to get to this)

when i use xhost +<server name> it tells me that the
server has been added to my access control list but
when i start the program on my shell it just tells me:

workshop: Can't open display, exiting...

and quits


when i use the secure method on my machine it tells me:

xauth list $DISPLAY
xauth:  creating new authority file
/home/vega/.Xauthority


but this file doesnt show up in an ls -a and i still
cant start the debugger from my shell. i am on a
dialup account using pppd if that is any help...

thanks for any help anyone can give me...

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


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?19980912024515.27550.rocketmail>