如何同時使用兩台Linux的X11程式 - Linux

Thomas avatar
By Thomas
at 2010-10-30T00:36

Table of Contents

※ 引述《Holocaust123 (奔跑的蝸牛)》之銘言:
: 我知道開兩個PieTTY登入兩台Linux主機
: 再在Win上開兩個Xming就可以了
: 那有沒有辦法在只開一個PieTTY跟一個Xming的情況下
: 同時使用兩台Linux的X11程式?
: (從Win先SSH到Linux_1, 再從Linux_1 SSH到Linux_2)

試試看這樣可不可行..

1.
Local A(windows)
開putty/PieTTY+Xming 用SSH連到 Remote A(Linux)

2.用screen這個指令,建立第二個console.
(screen用法請自己google查)

3.用screen建立的第二個console用ssh(要加-X)連Remote B(Linux)

4.這樣兩個screen應該都可以開X11的程式.

--
Tags: Linux

All Comments

Lydia avatar
By Lydia
at 2010-11-02T09:05
有了 謝謝你!

遠端執行ssh

Yedda avatar
By Yedda
at 2010-10-29T17:51
我的shell script主要就是 addr=hardcoveratserver-$1 ssh $addr and#34;/usr/sbin/tcpdump -Xvvv -r and#39;$(ls -l tail | tail -n1 | cut -c50-)and#39; \ $atand#34; ...

B2Dserver 網路掛點

Kumar avatar
By Kumar
at 2010-10-29T17:46
前兩天還運作好好的B2D server 今天突然掛點 站照程序重新開機之後 就開始出現一堆 Failed 的提示訊息 Failed (bootclean:Failure cleaning /var/run) *bootclean:Failure deleting and#39;var/lock/.cle ...

購買筆電 顯卡問題

Cara avatar
By Cara
at 2010-10-29T14:33
最近想買台筆電沒事打程式用 目前看上Lenovo IdeaPad G460 他是i3-370M配上nVidia G310M 可是有人說Linux配雙顯卡會有問題 不知道是有哪些問題 目前有解嗎? 還有其實我更想買Toshiba的L640 但是他配ATI的卡感覺會比N卡更差 或是有其他推薦的20K ...

遠端執行ssh

Kama avatar
By Kama
at 2010-10-29T13:50
我想直接由ssh取回遠端電腦上的一些當天剛產生當天的資料 ssh hardcoveratremote_site ~/mytool -r and#39;$(ls -l | tail -n1 | cut -c50-)and#39; \ andgt; my_data.txt 如果在 互動模式下就沒有沒問題,但在 ...

關於linux磁碟加密技術

Elizabeth avatar
By Elizabeth
at 2010-10-29T12:04
各位大大好.. 一篇加密技術文件 : System Encryption with LUKS for dm-crypt 網址: https://wiki.archlinux.org/index.php/System_Encryption_with_LUKS_for_dm-crypt 說到關於加密方法與 ...