※ 引述《[email protected] (George)》之銘言:
: PC(1) : linux xwindow
: PC(2) : Freebsd no xwindow
: PC(3) : WinXP
: 用Cygwin/X從PC(3)直接ssh連線到PC(1) 可以開啟X-Window
: 但是用PC(3) ssh到 PC(2) 再 ssh到 PC(1)就沒辦法啟動
: 請問Freebsd的部分是不是還要安裝什麼東西才可以用?
PC(3) -> PC(2), PC(2) -> PC(1) 這兩步都要 X11-forwarding 才行
以我自己的電腦測試
tzhuan: FreeBSD
stego: FreeBSD
linux1: Linux
tzhuan@tzhuan$ export | grep -i display
declare -x DISPLAY=":0.0"
tzhuan@tzhuan$ ssh -CY stego
tzhuan@stego$ export | grep -i display
declare -x DISPLAY="localhost:10.0"
tzhuan@stego$ ssh -CY linux1
tzhuan@linux1$ export | grep -i display
declare -x DISPLAY="localhost:10.0"
這樣是可以正常使用的
--
◢█◣▏◤█◣ ◆未來最舊小棧 Oldest Future Object
█●▇█▁˙█ ◆通訊頻率 OfO.twbbs.org
◥█◢▉◥█◤ ◆來源座標 140.112.30.49