Xming過跳板(gateway)Forwarding問題 - Linux

Table of Contents

大家好,

我實驗室伺服器架構是由一個對外服務和幾台不連外的計算伺服器組成,
透過跳板使用計算伺服器時,要繪圖沒辦法正常Forwarding,
例如使用gnuplot會出現

gnuplot: unable to open display ''
gnuplot: X11 aborted.

(有測試過連對外那台跳板gnuplot可以正常繪圖,
內部X11 Forwarding也有開)

目前想要用跳板後伺服器繪圖只能先在跳板那台開xterm,
連到其他伺服器,在gnuplot先設定
set term xterm,
這樣是可以用xterm的視窗畫圖,但畫出來的圖比較醜,

希望能找到直接在X11繪圖的方法,
感覺問題就是出在跳板後的server在X11 Forwarding應該先把資料傳到跳板那台,
之後在丟到X11傳到Xming顯示,
想請問有這有沒有辦法解決?

google沒找到答案。
http://cypresslin.web.fc2.com/Memo/M-SSH.html
提到用ssh -X,但我測試還是不行。

感謝。

--

All Comments

Thomas avatarThomas2014-08-30
xauth?
Hedda avatarHedda2014-09-01
對外服務有沒有把$DISPLAY傳過去?
Ivy avatarIvy2014-09-04
用putty? 改用mobaxterm看看
James avatarJames2014-09-05
putty x11要勾然後先輸入 export DISPLAY=ip
試試看
Thomas avatarThomas2014-09-09
DISPLAY=ip不是要你真的打ip這兩個字啊XDD
Edith avatarEdith2014-09-12
windows有先開xming或是xwin之類的程式嗎
Ivy avatarIvy2014-09-14
應該是/etc/ssh/sshd_config這個設定裡改