Env.
Win7
Download Cygwin
http://cygwin.com/setup-x86_64.exe
Install Cygwin and X Server
Select proper packages to install
Setup X Server
因爲我要用到X Server, 把X11都安裝了, 省得用的時候缺包少包的回來安裝。 懶啊, 沒辦法。
Test X Server
Start Cygwin and run startx command
Setup SSH
On Win7, run the Cygwin as Administrator
$ ssh-host-config
Start/Stop sshd
$net start/stop sshd