[X-Unix] Tiger X11.app and xforwarding in ssh

William H. Magill magill at mcgillsociety.org
Fri May 13 18:41:04 PDT 2005


On 13 May, 2005, at 12:09, John Harrold wrote:
> Ok I think I have narrowed down my problem. The xterm works fine and
> forwards everything. I was having problems with  terminal.app and  
> iterm
> before. I could be wrong, but I could have sworn that x11  
> forwarding worked
> with both terminal.app and iterm before. Using terminal.app the  
> display
> isn't set when the application starts (step 2 up there). If I set  
> it to
> ':0.0' then it also forwards the x11 stuff correctly.  Thanks Kent,  
> for
> getting me on the right track.
>
> I suppose I can just set the 'DISPLAY' environment variable in the  
> bashrc
> to fix x11 forwarding with the other OS X based terminalesk  
> applications.

X11 forwarding is disabled in ssh on OS X -- always has been.

You need to modify /etc/ssh_config and /etc/sshd_config  to allow it:

Uncomment and change from "no":

       ForwardAgent yes
       ForwardX11 yes

In sshd_config uncomment and change from "no":

      X11Forwarding yes
      X11DisplayOffset 10
      X11UseLocalhost yes

I have no problems with X11 on Tiger, either from an Xterm or  
Teminal.app.


T.T.F.N.
William H. Magill
# Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.3.8
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a
# XP1000  [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000  [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at acm.org
magill at mac.com
whmagill at gmail.com




More information about the X-Unix mailing list