running X applications on remote machine when logged in via ssh
I want to take machine 1 log in to machine 2 with ssh, and then launch something like firefox on machine 2 and have the display sent to machine 1 (the one i'm at) so i can browse the web, etc. How can I do this?
Use the -Y parameter on ssh, or -X on older versions that don't recognize -Y. For example, on machine1, issue the command:
ssh -Y userid@machine2
Any X applications you run on machine2 will then display on your local (machine1) video.
Of course, you must be running an X server on machine1. If machine1 is a Windows system, you must install Cygwin (if you don't already have an X server installed) and start it's X server before you ssh to machine2.
|All times are GMT -5. The time now is 04:21 AM.|