Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 13:33:28 -0600
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: openssh not setting DISPLAY
Message-ID:  <3A8D8088.164E99D3@math.missouri.edu>
References:  <E14Tq7y-0008J9-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 

Stephen Montgomery-Smith              stephen@math.missouri.edu
307 Math Science Building             stephen@showme.missouri.edu
Department of Mathematics             stephen@missouri.edu
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A8D8088.164E99D3>