thanks jon,

yes, i would have thought that ssh would take care of this,
but it isn't.  

i tried both of your suggestions, and still get:
Xt error: Can't open display.

i would have thought that ssh would change $DISPLAY, but
i need to do this manually.

i have noticed that my local .Xauthority file
still reads:
localhost.localdomain0MIT-MAGIC-COOKIE-1<some junk>

i would have thought that ssh would do something to this file,
and perhaps this is the problem.

jonathan






On Mon, 3 Apr 2000, Jon wrote:

Sounds like you need to use "xhost" to allow the remote machine to access
your X display.  When you ssh in, X11 forwarding is normally setup through
ssh itself.

Try doing "xhost +remote.machine.com" on the machine you want to allow
connections to, then opening up the X app.

Of course, why not just use ssh, like:

ssh -f whatever.phys.ualberta.ca xmaple

This will work well, and is more secure...

Anwyays.  Hope this helps and I'm not missing what you need entirely :)

On Mon, Apr 03, 2000 at 01:45:37PM -0600, Jonathan Oppenheim wrote:

> I am able to get ppp running, and i am assigned a local IP address
> dynamically.
> I can run netscape locally and things like that, but can't get a 
> remote server to open up an x window on my local machine.
> 
> (I get the "can't open display" message")
> 
> i ssh over to a remote server.
> i can, if need be set the display (i use bash) to the local
> IP address I've been assigned by typing DISPALY=xxx.yyy.zzz.ww:0.0
> 
> before I ppp, I type  (on my local machine) "hostname <some word>" 
> 
> and i have the line "ALL: .phys.ualberta.ca" in my hosts.allow file
> (where .phys.ualberta.ca is the domain name for the remote server)
> 
> but when i type "xmaple" for example (after establishing an ssh
> connection) i get "can't open display"
> 
> is there something else i need to do to tell the remote machine how to
> open my display?
> 
> thanks!
> jonathan
> 

-- 
Jon Changnon, Director of Operations
e: [EMAIL PROTECTED]          p: 440.951.9525
http://www.dncc.net


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzc5/rwAAAEEALGi/cKupURWMeRs3xKx7+3PHi1hqfswOuM5suJhTEJZiR+p
xYsVYB/B/uNwrr+m+Rzd8sEJlB2D/JkkCHMUplDR2OC0hfUYmQGIXEg9kShudRsO
E+1oVFFevj6MTgIY6c5nSWvz3n+zLHrcHk/k8pLDpI6qcIGqrAEcX2GVzVwNAAUR
tARqb25vtBU8am9ub0BwaHlzaWNzLnViYy5jYT4=
=fDxR
-----END PGP PUBLIC KEY BLOCK-----


Reply via email to