A=Mycomputer --> the internet --> nat_box --> C=computer
Mycomputer# ssh root@natbox natbox# ssh -L 24:localhost:22 -g user@C # switch to new xterm ortab mycomputer# ssh -Y -p 24 user@C C-computer# start you application
/tmp/dhcp.leases
You to not have to be root on B. But if you are not, you must choose a port number > 1024 instead of 24.
Som programs can be tricky to start on a remote display. Eg. to start OpenOffice, you have to kill all OpenOffice processes on C-computer.