Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 07:02:14 +0100
From:      Peter Boosten <peter@boosten.org>
To:        sk89q <the.sk89q@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X11 forwarding through SSH: Can't open display
Message-ID:  <497D51E6.2000904@boosten.org>
In-Reply-To: <825770ac0901252109n14c9de4exec2fe3c1daed335b@mail.gmail.com>
References:  <825770ac0901252109n14c9de4exec2fe3c1daed335b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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