免费注册 查看新帖 |

Chinaunix

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

关于X11以及SSH的问题,请高手指导! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-03-21 23:27 |只看该作者 |倒序浏览
系统为SUN OS 5.9\r\n数据库为SYBASE15.0\r\n应用为SUN APPSERVER8.2\r\n项目为BS结构。\r\n在客户端调用服务端程序的时候,本应为图形显示的界面报错,错误信息为:\r\nThat error means your are not running xserver process. Or, your ssh connection is not set-up to forward X-11 data. \r\n注:ssh 提供的一个重要功能就是 X 转发功能,它可以在客户端的显示屏上把服务器端 X 程序的运行结果以图形形式显示出来显示在客户端的显示屏幕上。\r\n听说可以调整SSH设置而解决此问题,请各位高手指点。谢谢

论坛徽章:
0
2 [报告]
发表于 2007-03-21 23:38 |只看该作者
听说可以调整SSH设置而解决此问题
That is right. You need to change the server side sshd_config file to X11Forwarding yes ( and restart the ssd daemon). You need to configure client ssh program to enable X11 forwarding. I use Putty and the setting is under SSH-->X11 and click Enable X11 forwading and authentication protocol as MIT-Magic-Cookie-1. Now you can open Xserver software such as Exceed to run in the background on your PC, ssh to the server and get your GUI

论坛徽章:
0
3 [报告]
发表于 2007-03-22 12:31 |只看该作者
how to restart the ssd daemon?

论坛徽章:
0
4 [报告]
发表于 2007-03-22 14:49 |只看该作者
修改后,还是没有用,哎。\r\njava.lang.InternalError: Can\'t connect to X11 window server using \'10.208.1.153:0.0\' as the value of the DISPLAY variable.        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)        at java.lang.Class.forName0(Native Method)        at java.lang.Class.forName(Class.java:141)        at java.awt.GraphicsEnvironment.getLocalGraphicsE

论坛徽章:
0
5 [报告]
发表于 2007-03-23 02:22 |只看该作者
What is your client machine? PC? Solaris? If it is solaris, type DISPLAY=client_IP:0.0;export DISPLAY and try again

论坛徽章:
0
6 [报告]
发表于 2007-04-14 17:06 |只看该作者
It\'s solaris server,
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP