From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 15:52:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E398C1065672 for ; Mon, 26 Jan 2009 15:52:40 +0000 (UTC) (envelope-from the.sk89q@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA048FC14 for ; Mon, 26 Jan 2009 15:52:40 +0000 (UTC) (envelope-from the.sk89q@gmail.com) Received: by rn-out-0910.google.com with SMTP id k32so2256658rnd.12 for ; Mon, 26 Jan 2009 07:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f3rERJ8+gsf0ZbyqPHHAi3gcC7kbIhjAiaiarEuA7qk=; b=e6Xzz92XPXWxdsHT6V10RdhkbUpbXOKHNYTXx36eu0/rLGbBpjIXKBoX+DA+QAA9Tc H+V40vK7ND8fZ5U7MeKu+AbkUZ5OtUbg76MYCItb0f2yU6OH7V1nODUGJBC1Id0f9Hm9 fCg6ga6sraMkMKqzJDuf6eVCz6mI8fnxZE3FQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=x9XzdeIEmKrd30nKrQQkkosDwbIIBXfBQbmZQRbMKGhoPWS6so5beQglAjLJwHouBK OPQY6sV4i5ZnE/J45tqrGnNQlHH2349McNFgBu84yR8FIknFsGokxLddu8ylBER/Xz/y se4MeOp3xc+zWOrpZKNzMyXoeYL25tTb0YYCY= MIME-Version: 1.0 Received: by 10.231.20.65 with SMTP id e1mr1376129ibb.1.1232985159765; Mon, 26 Jan 2009 07:52:39 -0800 (PST) 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> Date: Mon, 26 Jan 2009 07:52:39 -0800 Message-ID: <825770ac0901260752s16655f49ue069d2166450d672@mail.gmail.com> From: sk89q To: Bill Moran Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Peter Boosten Subject: Re: X11 forwarding through SSH: Can't open display X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 15:52:41 -0000 On Mon, Jan 26, 2009 at 6:32 AM, Bill Moran wrote: > In response to sk89q : > >> 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 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/ >