Re: X won't forward (ssh -X)
hi ya
for your way .... is /etc/ssh/sshd_config defined the same way ??
- did you restart sshd after changing sshd_config
i do things the old fashion way...
I'm sitting on Mach_A
A# xhost +1.2.3.4 ( ip# of B )
A# ssh B
-- login etc
B# export DISPLAY-2.3.4.5:0
( ip# of A )
B# xterm - should show up on A
B# xlock
B# exit
A# xhost -1.2.3.4
c ya
alvin
On Mon, 17 Dec 2001, Lars Jensen wrote:
> After switching to woody from potato, I'm having problems with setting
> the display on a remote machine:
>
> Both machine A and B below runs woody.
>
> I ssh from machine A into machine B with ssh -X, and when I run any
> X-application (like xclock) I get an instant error:
> "Error: can't open display"
>
> I have tries ssh -X'ing into B from other machines also, and had no luck
> with them either.
>
> Strangely enough, when I let A and B switch roles, everything works
> fine. I have set up both machines myself, and I intended the setup to be
> the same on A and B, but something must be different in their setup?!
> Could there be any settings on B that needs to be changed in order that
> X be forwarded?
>
> Any ideas what could be the problem, or how to debug it?
>
Reply to: