ssh tunneling for a newbie :)

Piotr Gluszenia Slawinski curious at
Wed Aug 11 11:51:19 PDT 2010

>> try
>> 1)ssh -Y  instead of -X
>> 2)make sure server is allowing to forward X connections  (sshd_config)
>> it is often disabled by paranoid  sysadmins...
> 3: Allow the connection on the client side. Easiest way is "xhost +" which
> allows any server to display on your client. Optionally you can restrict what
> servers are allowed (see man xhost).

this should not be nessesary when using ssh , and allowing just anyone
displaying stuff on your screen on client requires cautious firewalling - 
mind you this allows just like anyone catching keyboard and mouse events.
(i.e. via using x2x ).

usually connections should originate from localhost , and as long
as console from which ssh has properly configured variables,
and i.e. starting xterm from it (or any other x app) actually works,
ssh tunnel should work too.

More information about the xorg mailing list