From owner-freebsd-questions Thu May 30 17:25: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from marbles.lost.net.au (marbles.lost.net.au [203.87.95.130]) by hub.freebsd.org (Postfix) with ESMTP id 3061337B421 for ; Thu, 30 May 2002 17:24:31 -0700 (PDT) Received: from localhost (tim@localhost) by marbles.lost.net.au (8.11.6/8.11.3) with ESMTP id g4V0O1475895; Fri, 31 May 2002 09:54:01 +0930 (CST) (envelope-from tim@lost.net.au) Date: Fri, 31 May 2002 09:54:01 +0930 (CST) From: tim peters To: mpd Cc: G-der , Subject: Re: X11 forwarding through sshd In-Reply-To: <20020530125453.A75831@rochester.rr.com> Message-ID: <20020531094829.T75376-100000@marbles.lost.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 30 May 2002, mpd wrote: m> On Thu, May 30, 2002 at 10:47:13AM -0600, G-der wrote: m> > I'm not a regular subscriber so a cc to me would be greatly m> > appreciated... m> > m> > Just installed XFree86 4 so I can run remote xsessions on this system. m> > I'm running 4.5-RELEASE and using sshd to connect. m> > m> > In the /etc/ssh/sshd_config file X11Forwarding is set to yes but when I m> > connect my ssh client tells me that X11 forwarding is not supported by m> > the server. m> > m> > I've restarted sshd (using kill -HUP) and have tried starting a m> > completly new sshd session on a different port. m> > m> > Obviously there's something that I'm missing but I can't figure it out m> > at the moment. When I did this in 3.4-RELEASE all I had to do was set m> > X11Forwarding to yes for sshd and it worked right off the bat. m> > m> > Thanks in advance m> m> Are you starting X with the -listen_tcp flag? X via ssh doesn't require this flag (or even an X server to be running on the remote machine), as the entire session is tunneled through the secure shell mechanism and displayed on the local machine's display. G-der: Make sure XFree86 libraries are installed on the remote machine and that /usr/X11R6/bin is in your $PATH when you ssh to it. If that doesn't help, run ssh in verbose mose (ssh -v) and see if that provides any more information. HTH, -- tim@lost.net.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message