您的位置:首页 > 产品设计 > UI/UE

Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

2015-09-25 11:13 776 查看
1. 问题

用MobaXterm 在Linux上以root 账号安装ERP 时候, 报错

>> Invocation target exception: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable; you may consider checking your DISPLAY environment variable.

如下设置后,依然报 Error: Can't open display: :0.0

mo-1:/hana/FSPER/730_731_740_750 # DISPLAY=:0.0

mo-1:/hana/FSPER/730_731_740_750 # export DISPLAY

mo-1:/hana/FSPER/730_731_740_750 # xclock

Error: Can't open display: :0.0

2、 解决办法

10.5.1.2 是你当前window 的IP, 换成你自己的IP

mo-1:/hana/FSPER/730_731_740_750 # export DISPLAY=10.5.1.2:0.0

mo-1:/hana/FSPER/730_731_740_750 # env|grep DISPLAY

DISPLAY=10.5.1.2:0.0

再 安装, 就好了。。。。。。

mo-1:/hana/FSPER/730_731_740_750 # ./sapinst
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: