Long time ago a friend of mine showed me how to run locally the GUI of a remote application with cygwin, a couple of years ago a request in my job required a X server on the server which sounded like a bad idea to me, this is a cleaner approach to run those apps that require a display, when you are running a windoze. It’s even easier if you are running Linux as it is very likely you will be running in a top of a X server.
- Download the cygwin setup binary from here.
- Open the Cygwin Setup and select the following packages to install.
- You need your local IP, remote IP
- Open cygwin and run startx this will start your X-Server locally.
- Run: xhost +<remoteIP> on the shell opened by the X-Server.
- Connect to the remote server: ssh -X -l<user> <remoteIP>.
- Export your local display on the remote Server: export DISPLAY=<localIP>:0.0
- Run a graphical application that will be displayed on your local X-Server and Enjoy the Graphical Interface of a remote process in your locally
For troubleshooting/clarification, read the man pages of ssh, xhost and xserver.