Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 07:52:39 -0800
From:      sk89q <the.sk89q@gmail.com>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        freebsd-questions@freebsd.org, Peter Boosten <peter@boosten.org>
Subject:   Re: X11 forwarding through SSH: Can't open display
Message-ID:  <825770ac0901260752s16655f49ue069d2166450d672@mail.gmail.com>
In-Reply-To: <20090126093242.863c59b0.wmoran@potentialtech.com>
References:  <825770ac0901252109n14c9de4exec2fe3c1daed335b@mail.gmail.com> <497D51E6.2000904@boosten.org> <825770ac0901252217m74882871o543027b0e32b9eb8@mail.gmail.com> <20090126093242.863c59b0.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 26, 2009 at 6:32 AM, Bill Moran <wmoran@potentialtech.com> wrote:
> In response to sk89q <the.sk89q@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.

Yes, I do (at least to my knowledge), but xauth is located at
"/usr/local/bin/xauth". sshd wasn't able to find xauth, so I made a
hard link at "/usr/X11/bin/xauth" to "/usr/local/bin/xauth". That
fixed a can't-find-xauth error, and that's where I am now.

>> On Sun, Jan 25, 2009 at 10:02 PM, Peter Boosten <peter@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>
> --
> Bill Moran
> http://www.potentialtech.com
> http://people.collaborativefusion.com/~wmoran/
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?825770ac0901260752s16655f49ue069d2166450d672>