X11 forwarding through SSH: Can't open display

Bill Moran wmoran at potentialtech.com
Mon Jan 26 06:32:48 PST 2009


In response to sk89q <the.sk89q at gmail.com>:

> I meant sshd_config.

Do you have the xauth package installed on the remote server?  You don't
need a full X install, but X11 forwarding won't work without xauth
installed.

> On Sun, Jan 25, 2009 at 10:02 PM, Peter Boosten <peter at boosten.org> wrote:
> > sk89q wrote:
> >> Hello,
> >>
> >> I am using FreeBSD 6.2 and I have been trying to get X11 forwarding
> >> through SSH to work. I've gotten to the point where the environment
> >> variable "DISPLAY" is set, but I get a "Can't open display" error when
> >> I attempt to run an X application. The remote server in question does
> >> not have an X server install.
> >>
> >> In /etc/ssh/ssh_config, I have the following lines:
> >> X11Forwarding yes
> >> AllowTcpForwarding yes
> >> UseLogin no
> >>
> >
> > Have a look at /etc/ssh/sshd_config of the remote server and restart
> > sshd after modification.
> >
> > Peter
> >
> > --
> > http://www.boosten.org
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/


More information about the freebsd-questions mailing list