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

Re: [Sheflug] ssh X11 forwarding



On 04 Mar 2002 22:34:34 +0000
Alex Hudson <home [at] alexhudson.com> wrote:

> +x? No such option! Do you mean you tried 'xhost +x' ? or 'ssh -x ...' ?
> 
> Neither's right, anyway, you want 'ssh -X ...' :)

I've just checked the ssh manpage

       +x     Enable X11 connection forwarding. (default)

> I presume you can log in normally.

Yes

> 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.

Nope, I get a blank $DISPLAY

<quote (from an xterm)>

bob@snot:~$ echo $DISPLAY
:0.0
bob@snot:~$ ssh skeleton
bob's password: 
Authentication successful.
Last login: Mon Mar 04 2002 22:08:50
No mail.
bob@skeleton:~$ echo $DISPLAY

bob@skeleton:~$ 

</quote>


-- 
sparc sun4c stuff : http://www.lostgeneration.freeserve.co.uk/sparc
personal email    : bob at lostgeneration dot freeserve dot co dot uk
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.