100分求Sun WorkShop安装问题解决方案

cocoax 2003-11-19 05:27:00
"
"DISPLAY ERROR: Could not open an X Window display. Please check the"
"setting of your DISPLAY environment variable, and if need be,"
"execute an \"xhost\" command on this display to grant access."
"Proper execution of the \"xhost\" command is documented in your"
"install guide."
"
"If you have become the root user on this display by means of an \"su\""
"command, you will likely have to issue an \"xhost\" command as the"
"owner of the display, not as root. See the install guide for more"
"information on setting \"xhost\" access prior to becoming root."
"
...全文
24 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
goldenmai 2003-11-20
  • 打赏
  • 举报
回复
哦, 忘了说
xhost +local: 是用在你首先登陆的那个ID下。
setenv DISPLAY xxx.xxx.xxx.xxx:0.0 是用在 当你用RLOGIN登陆到另外一个机器以后,或者用SU以ROOT名义登陆的情况。。。

晕。。。不知道说清楚了没。。。。
goldenmai 2003-11-19
  • 打赏
  • 举报
回复
btw, dont forget the colon.

this happens because you have logged with another identifier
an alternative solution is to set DISPLAY environment variable,for example
setenv DISPLAY xxx.xxx.xxx.xxx:0.0(xxx.xxx.xxx.xxx should be your IP adress)
goldenmai 2003-11-19
  • 打赏
  • 举报
回复
use
xhost +local:

23,116

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧