Categories

Categories

Archives

X forwarding – my reminder

Every once and a while, I have a brain lapse.

A long time ago, my father showed me how to forward X applications from another system to my localhost with Cygwin.

Unfortunately, between that time and now, I had forgotten what he had showed me.

So, as a reminder for myself, here’s how:

The classic is assumed here:

  • Cygwin is installed with X.
  • Putty
  • Remote system with X utilities

On the localhost:
Start Cygwin then type

$ X -multiwindow &
$ export DISPLAY=127.0.0.1:0.0

Start putty:

Under Connection -> SSH -> X11 -> Forwarding
Check the ‘Enable X11 forwarding’
In the ‘X display location’, enter:
127.0.0.1:0.0

Open the connection to the remote host as normal from this point.
Once logged in, you can now open your X apps from the server

$ gschem

gschem in Windows from FreeBSD system

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.