- 准备
- 下载 putty - http://www.putty.org/
- 安装 cygwin - http://cygwin.com/, 并添加 e.g. c:/cygwin/bin 到 Windows Path
- Usage
- Under Windows command window, run xwin or startxwin
- if using xwin, need right click the X in Taskbar, and start xterm via Applications > xterm
- startxwinwill start a xterm automatically.
- In the xterm, run xhost +
- Allow all XClients can access this XServer.
- XClients - Unix system; XServer- Windows machine
- Using Putty to connect Unix.
- Whatever with telnet or ssh
- run e.g. export DISPLAY=<Windows_Host_Name or IP>:0.0
- Test
- run xclock
- will get the clock on Windows machine
- Under Windows command window, run xwin or startxwin
- 当然还可以使用 Xming (http://sourceforge.net/projects/xming/) 实现,但是自己一直使用 cygwin.
时间: 2024-10-21 20:28:25