Subject: Re: Toilet seat iBook (the first one) and shutdown
To: Bruce ONeel <edoneel@sdf.lonestar.org>
From: Erik Hanspers <erik@univits.com>
List: port-macppc
Date: 12/22/2004 14:39:35
Bruce ONeel wrote:
>>>- Question.  Now that can use my iBook to display X clients across 
>>>the net, why is that ssh -X doesn't set X forwarding when connecting
>>>to NetBSD 2.0 systems?  I've looked at /etc/ssh/ssh_config and set
>>>ForwardX11 to yes but that doesn't seem to help.  What am I missing?
>>
>>Because the default sshd configuration doesn't allow X11 forwarding 
>>anymore. You need to enable it in sshd_config on the ssh server too.
 >
> Thanks.  That's what I thought I was doing by setting
> 
> /etc/ssh/sshd_config
> 
> X11Forwarding yes
> 
> would do.  And yes, I did remember to restart sshd :-).  Should I 
> be looking somewhere else?

You need /usr/X11R6/bin/xauth and also make sure you haven't got 
"UseLogin yes" in that sshd_config, it doesn't work with X forwarding.