I had the same problem.  I fixed it by putting
ForwardX11 yes
in /etc/ssh_config (I am assuming that here you are showing
sshd_config).

(Somehow I think ForwardX11 yes should be the default, but
it seems not to be.)

Randy Bush wrote:
> 
> -stable of yesterday
> X 4.02
> openssh, moving from /usr/ports/security/ssh1
> 
> going in with protocol 1
> 
> user's shell is bash
> 
> DISPLAY env var not being set.  i expect `hostname`:10.0
> 
> x forward not seeming to happen even if i set it manually.
> 
>     Port 22
>     Protocol 2,1
>     #ListenAddress 0.0.0.0
>     #ListenAddress ::
>     HostKey /etc/ssh/ssh_host_key
>     HostDsaKey /etc/ssh/ssh_host_dsa_key
>     ServerKeyBits 768
>     LoginGraceTime 120
>     KeyRegenerationInterval 3600
>     PermitRootLogin yes
>     # ConnectionsPerPeriod has been deprecated completely
> 
>     # After 10 unauthenticated connections, refuse 30% of the new ones, and
>     # refuse any more than 60 total.
>     MaxStartups 10:30:60
>     # Don't read ~/.rhosts and ~/.shosts files
>     IgnoreRhosts yes
>     # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
>     #IgnoreUserKnownHosts yes
>     StrictModes yes
>     X11Forwarding yes
>     X11DisplayOffset 10
>     PrintMotd yes
>     KeepAlive yes
> 
> randy, feeling stoopider than usual
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-stable" in the body of the message

-- 

Stephen Montgomery-Smith              [EMAIL PROTECTED]
307 Math Science Building             [EMAIL PROTECTED]
Department of Mathematics             [EMAIL PROTECTED]
University of Missouri-Columbia
Columbia, MO 65211
USA

Phone (573) 882 4540
Fax   (573) 882 1869

http://www.math.missouri.edu/~stephen


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to