cygwin-x

Monday, November 21, 2011


Installing and using Cygwin-x


and run the setup.exe program from the link near the bottom of the page.

Select "install from Internet"

And otherwise accept the defaults
Let your root directory remain c:\cygwin or choose another dir if preferred
Install for all users


I chose my download site as http://mirrors.xmission.com, which seems to work well

When reaching the screen, "select packages", single click on the icon just to
the right of "X11" until the option to the right of icon changes to "install",
then do next to continue.

If it complains about unmet dependencies, accept the default to install the additional
packages.

Then wait until everything is installed.

There should be a "Programs/Cygwin/Cygwin Bash Shell" directly accessible from start button,
so run it.

inside the bash shell, run "startx" from the shell command line.  It will bring up a
full screen window with possibly many X-term windows inside.
from one of these shell windows, run "xhost +" to allow anybody to display to you.

open up an nt command prompt via "start-run" and then type "cmd", and record your ip address
by running ipconfig.

run putty to the host that you wish to run the X-windows application to, and set the DISPLAY
environmnent variable correctly.  For example, if your ip address is 172.18.41.232, then do
this within putty:

DISPLAY="172.18.41.232:0.0"
export DISPLAY



You can confirm that X back to your PC works by trying to display an xterm, run this from
putty, "/usr/openwin/bin/xterm &".  It should display another window inside the X display server GUI.

0 comments: