免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2021 | 回复: 2
打印 上一主题 下一主题

求助!关于f7利用xwindows管理远程主机 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-04 11:52 |只看该作者 |倒序浏览
本机装的是f7,ip 172.16.3.89,远程服务器为redhat as4,ip 172.16.3.95 ,
redhatas4上已经配置了/etc/X11/gdm/gdm.conf的 [xdmcp] 、/etc/X11/xdm/Xaccess,以及/etc/X11/xdm/Xservers和/etc/X11/xdm/Xsetup_0的属性

我在f7上首先执行 xhost +
然后通过ssh登录到 redhatas4,执行 export DISPLAY=172.16.3.89:0.0
然后执行通过ssh在 redhatas4上执行 xclock
报错:
Error: Can't open display: 172.16.3.89:0.0

请问还需要配置或者检查什么地方么?f7本身要做什么配置么?

[ 本帖最后由 hxre 于 2007-9-4 13:01 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-09-04 14:32 |只看该作者
现在在f7上运行 X -quiet -query 172.16.3.95 可以登录到redhatas4,但是不是想要这样的效果阿..

我看oracle安装文档上,只需要在出现图形界面的时候输入相应命令,本机只会出现相应的窗口,而不是完全登录上...

论坛徽章:
0
3 [报告]
发表于 2007-09-04 14:58 |只看该作者
解决拉!

1.1. Troubleshooting

Connection error is probably the most common problem you'll encounter. You may see some of the following messages if you encounter such error:

xclock: Cannot connect to X server local_client:0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit connections from your machine.
Xlib: connection to "local_client:0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: local_client:0.0

A cause of such error is due to the firewall settings on the local machine. For this method to work, the remote machine needs to talk to the TCP port 6000 of the local machine. (In general, TCP port 6000+D for display D.) Make sure that the firewall does not block the port.

Another cause of error is due to the use of GDM on the local machine, . By default, GDM blocks the TCP communication required for this method. It is done so for security reason. If you know what you are doing, you can run gdmsetup to modify the setting. In Ubuntu, gdmsetup can be launched with Applications->System->Login Window. Select the [Security] tab and uncheck the option 'Deny TCP connections to Xserver'. If you want to modify the configuration file manually (which is not advisable), first find out where gdm.conf is located (usually under /etc/X11/gdm/ or /etc/gdm/). Then, modify (or create) gdm.conf-custom on the same directory to include the following setting:

[security]
DisallowTCP=false
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP