> I use all four combinations:
> 
> local Mac + remote Linux box
> local Mac + remote Mac
> local Linux box + remote Linux box
> local Linux box + remote Linux box.
> 
> For me they all function the same way.  X11Forwarding is indeed set in
> sshd.conf for all cases.
> 
> As I said in my prior message in this thread, what normally causes me
> to have problems is when my local machine is a Mac and I try to
> connect to the remote machine (whichever one) in an OS X terminal
> window where I haven't set the DISPLAY.
> 
> An easy way to check is after you've SSHed in to the remote box, run
> 
> printenv DISPLAY
> 
> If the forwarding is working properly, then you should get back something like
> 
> localhost:10.0

Thank you,

I have almost solved the problem.

On the bash_profile of my 10.4 machine I had written DISPLAY=0.0 
I know I should never specify it but it was a fast workarround some time ago... 
 That's because everything appeared on the wrong screen. The case is that now 
when I logging it sorrectly sets the DISPLAY correctly to localhost:10.0

The problem is like this 
  From a system 10.4 to a 10.3.9
      Now it works correctly (once I have deleted the wrong entry on 
bash_profile ) 

  From the system 10.3.9 to the 10.4
      It correctly sets the DISPLAY as localhost:XX.0 but when I open a window 
I get (sometimes) the following error message 
        Xlib: extension "RENDER" missing on display "localhost:3.0"
        and the window appears on the wrong machine

I have checked that the error usually appears when there are more than one 
connection via ssh (two different connections from A to B, so it is not vital) 
and even a third man in the party gets a problem of connection refused 
"macserver port 12000: Connection refused" (but I guess it is a different 
problem)  

Thanks again


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to