Putty的X-window的妙用在Windows系统下

最近用了Putty来远程连接Linux,其中的X11 forwarding的使用很有意思,其中的配置转载国外的;

X Forwarding with Putty on Windows

Intro to X Forwarding

Unix machines have been able to run software on a remote machine and display the GUI locally for almost two decades. Linux and Mac OS X support X Forwarding with no extra software. Any terminal on Linux should do X Forwarding, Mac users need to run "Applications > Utilities > XTerm". In a command line terminal run "ssh -Y jdoe@compute.example.edu matlab" and you'll be running matlab on "compute.example.edu" but seeing it on your desktop.

Windows users need two pieces of software: an secure shell program (ssh) to establish the remote connection and an X Server to handle the local display.

Prerequisites

Configuring Putty

    1. Add Unix hostname
    2. Switch Protocol to SSH
    3. Type name of session in saved sessions
    4. Click 'Save'





    1. Expand the 'SSH' tab from the 'Category' list
    2. Choose 'X11' from 'SSH' list
    3. Check 'Enable X11 Forwarding'





  1. Choose 'Session' from 'Category' list
  2. Click 'Save'

Starting the X Server on Windows

Configuring Xming

Just run "All Programs > Xming Xming" and it should work if you've got PuTTY configured.

Connecting

    1. Start Xming
    2. Start Putty
    3. Double click on the saved session you want





  1. Enter username and password as requested
  2. You should now be able to run X applications from the host
    on your local desktop

 

转载于:https://www.cnblogs.com/jefflu2012/archive/2012/09/09/2678118.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值