Accessing remote X-window from windows box
This is not pretty, but it's needed sometimes. (Yeah, I know, your company made you use windows)
There is a good deal of information on this wiki page about Cygwin/X. But to me it seems like too much information so I simplified it for my own reference.
Here are three simple steps to access remote X after you get Cygwin with X installed:
- open a Cygwin window and start X server: X -multiwindow &
- export DISPLAY=127.0.0.1:0.0
- ssh -X username@remote.server
- run xclock (personally I prefer xeyes) to test
That is it. If you prefer putty which is another nice tool I use occationally. You can do this:
- open a Cygwin window and start X server: X -multiwindow &
- Open putty, in Connection --> SSH --> X11 tab, check the box "Enable X11 Forwarding".
- Login and you are done, now open an X app like xclock or xeyes, you should see it.
No comments:
Post a Comment