[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DISPLAY variable not set in ssh session




On Feb 26, 2008, at 6:52 AM, Vincent Lefevre wrote:

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.


On Feb 26, 2008, at 7:16 AM, Kushal Kumaran wrote:

Make sure X11Forwarding is set to yes in /etc/ssh/sshd_config.




That's the first thing I checked...

=========================================
rbthomas@greybox:~$ grep X11 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
=========================================




Reply to: