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
转载于:https://blog.51cto.com/wavework/1608939