Date: Fri, 31 May 2002 09:54:01 +0930 (CST) From: tim peters <tim@lost.net.au> To: mpd <mpd@rochester.rr.com> Cc: G-der <gder@gder.net>, <freebsd-questions@FreeBSD.ORG> Subject: Re: X11 forwarding through sshd Message-ID: <20020531094829.T75376-100000@marbles.lost.net.au> In-Reply-To: <20020530125453.A75831@rochester.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531094829.T75376-100000>