From owner-freebsd-stable Fri Feb 16 11:33:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from math.missouri.edu (math.missouri.edu [128.206.49.180]) by hub.freebsd.org (Postfix) with ESMTP id 9AF1637B4EC for ; Fri, 16 Feb 2001 11:33:31 -0800 (PST) Received: from math.missouri.edu (stephen@cauchy.math.missouri.edu [128.206.49.166]) by math.missouri.edu (8.9.3/8.9.3) with ESMTP id NAA98652; Fri, 16 Feb 2001 13:33:28 -0600 (CST) (envelope-from stephen@math.missouri.edu) Message-ID: <3A8D8088.164E99D3@math.missouri.edu> Date: Fri, 16 Feb 2001 13:33:28 -0600 From: Stephen Montgomery-Smith Organization: University of Missouri X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Randy Bush Cc: FreeBSD Stable Subject: Re: openssh not setting DISPLAY References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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