1. Install CygWin – make sure you choose the openssh option as well as the X11-base utilities

2. Open up a cygwin shell and ssh into the remote device (R1)

3. Open up another cygwin shell on the host (H1) and run startx

4. Open up another cygwin shell on the host (H2) and run “xhost +”

5. On R1 set the environment variable DISPLAY to be the IP address and display number

  • eg. export DISPLAY=151.155.171.31:0.0

6. Run the x-based program on the remote device.