Env.

Win7

 

Download Cygwin

http://cygwin.com/setup-x86_64.exe

 

Install Cygwin and X Server

image

image

image

image

image

image

Select proper packages to install

image

Setup X Server

因为我要用到X Server, 把X11都安装了, 省得用的时候缺包少包的回来安装。 懒啊, 没办法。

image

 

Test X Server

Start Cygwin and run startx command

image

image

 

Setup SSH

On Win7, run the Cygwin as Administrator

$ ssh-host-config

 

Start/Stop sshd

$net start/stop sshd

image