看板FreeBSD
标 题Re: [问题] X11 远端连线经过第三台电脑的问题
发信站未来最旧小栈 (Mon Mar 2 11:33:02 2009)
转信站ptt!news.ntu!OfO
※ 引述《[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