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

Re: [Sheflug] ssh X11 forwarding



On Mon, 2002-03-04 at 18:34, Andrew Basterfield wrote:
> I would like to use ssh for X11 forwarding, and according to the docs it
> is easy - from an xterm just ssh into the remote machine and execute the
> program and it will automagically appear on the local X display.


Yep, works lovely over here :-)

> Except it
> doesn't work, the DISPLAY variable is blank on the remote machine. I have
> tried using the +x option to ssh but it makes no difference.

+x? No such option! Do you mean you tried 'xhost +x' ? or 'ssh -x ...' ?

Neither's right, anyway, you want 'ssh -X ...' :)

I presume you can log in normally. Regardless of X accepting the proxy
connections or not, when you log into the remote machine (let's say, for
example, it's called 'foo') you'll get DISPLAY set - 'echo $DISPLAY'
will often give something like 'foo:10' in return.

Cheers,

Alex.

This is a digitally signed message part