x window 連線 - Linux

Table of Contents

※ 引述《hardcover (如是如是)》之銘言:
: 我在遠端server上有一個 x clinet的程式,需要把 x client的執行結果傳回本地端。
: ssh -X <remote_server>
: ...
: $ export DISPLAY=<ip>:0.0
: $ xeyes
: 但是在本地端看不到結果。
: (ubuntu 9.04)
: 我看了一下,好像是 x server 的port 沒開?
: 請問要開始哪一個service才能讓本地端端的x server接收 x client 資料?
: thanks

應該是ssh的forward沒有開

修改/etc/ssh/ssh_config

裡面應該有ㄧ行是 # ForwardX11 yes

把#拿掉就可以了吧

映象中是這樣 手邊沒機器 可能有些不一樣吧 試試看吧

--

All Comments