Re: yet another question re: X11 tunneling via ssh
Re: yet another question re: X11 tunneling via ssh
- Subject: Re: yet another question re: X11 tunneling via ssh
- From: "Mark E. Perkins" <email@hidden>
- Date: Sat, 18 Feb 2006 19:29:30 -0500
On 2006/02/18 18:43, Martin Costabel wrote:
> Ken Wang wrote:
> []
>
>> difference, as I still get "Can't open display
>> remote.machine.net:11.0".
>
>
> This "remote.machine.net:11.0" is somewhat suspicious. Normally you
> would see the DISPLAY on the remote machine automatically set to
> "localhost:10.0". Do you interfere somehow with the automatic setting of
> this variable?
Not necessarily suspicious... If there's already another ssh session w/
X11 forwarding in place, it will have localhost:10.0 as its display.
This one would get localhost:11.0, the next localhost:12.0, etc.
>
> As for ports, the only one needed is 22.
>
Indeed. That's what port forwarding via ssh is all about. FWIW, a good
explanation of port forwarding in general, and X11 forwarding in
particular, is in the O'Reilly SSH book.
HTH,
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden