Cygwin

Cygwin

NB: MobaXterm (https://mobaxterm.mobatek.net) is a more up-to-date and capable way of bringing UNIX-like capabilities to Windows.

Windows 10 and above can use the Windows Subsystem for Linux ( wsl2 )

Installation

  • start installer

  • Press next

  • select install from the internet, press next

  • Select Root Install Directory: choose defaults, press next

  • Select Local Package Directory: choose default, press next

  • Select Your Internet Connection: choose default, press next

  • Choose a download site:

  • Cygwin Setup - Select Packages:

  • Add:

    • Net -> openssh & rsync

    • X11 -> X-start-menu-icons, xinit, xorg-server, xterm - dependencies will be automatically seletcted

Press Next, download starts.

  • once installation is finished, press enter and shortcut is placed on desktop.

http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

Using Cygwin

  • execute cygwin via the Desktop shortcut

  • you are presented with a bash shell

  • to close, issue the command: "exit"

remote X

  • Start -> Programs -> Cygwin-X -> XWin Server

  • from xterm ssh with X tunnelling to linux or unix computer: ssh -X <account>@<server_name>

  • If the above results in errors when you try to run an X program remotely, try ssh -Y <account>@<server_name>

  • once connected to remote server, start any X program and it will run on Windows via Cygwin

Research: nx or freenx with cygwin

Window Managers

Installing Window Managers?

Install openbox

echo "exec openbox" > ~/.xinitrc

Updating

  • download and rerun the setup.exe program