用X-manager,在windows上打开Xmanager - Passive。
SecureCRT连接centos5.3,切换到ORACLE用户,执行./runInstaller
提示X connection to localhost:10.0 broken (explicit kill or server shutdown)
我切换到root用户,执行#env查看
发现DISPLAY=:0.0了。
我就重新执行 export DISPLAY=10.6.20.97:0.0 // 10.6.20.97为我的本机IP
再env查看
DISPLAY=10.6.20.97:0.0
显示正确。
再切换到root用户,执行./runInstaller
弹出安装oracle界面。