Re: DISPLAY variable not set in ssh session
On 2008-02-26 05:00:13 -0500, Rick Thomas wrote:
> I just installed Lenny on a G4 Mac. I installed the "ssh" package on
> it. I can "ssh" to it just fine. But I can't get X11 forwarding to
> work. When I use "ssh -X" or "ssh -Y" (either option) the connection is
> made, but the DISPLAY variable is not being set.
>
> Anybody know why?
You need to explicitly enable X11 forwarding on the SSH server side
(in /etc/ssh/sshd_config, you should have "X11Forwarding yes").
Please check that first.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Reply to: