我用的本地windows环境访问的飞腾服务器,这个服务器里的系统是不支持图像化界面的,需要通过display指定自己的电脑来显示图像化界面。
命令如下,这个ip是对应自己电脑的,通过ipconfig可以查看,示例中的ip是10.10.10.10。
export DISPLAY=10.10.10.10:0.0
如果显示出这个界面,再点击是就可以了。
当你要调用图像化界面时它直接会报错:DISPLAY environment variable is undefined.Please set it.
这个时候下面也给了解决方法。
报错示例:
root@compute9:/data/nccode/0522DM/bin# ./sysConfig.shJAVA_HOME environment variable is undefined.Please set it.example: export JAVA_HOME=/opt/jdk1608export PATH=$JAVA_HOME/bin:$PATHroot@compute9:/data/nccode/0522DM/bin# export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-arm64/root@compute9:/data/nccode/0522DM/bin# ./sysConfig.shPLATFORM=Linux aarch64 .JAVA_HOME=/usr/lib/jvm/java-8-openjdk-arm64/ .NC_HOME=/data/nccode/0522DM .WAS_HOME=IS_CLUSTER_INSTALL=falseWAS_PROFILE=WAS_PROFILE_PATH=/profiles/DISPLAY environment variable is undefined.Please set it.example: export DISPLAY=10.7.3.225:0.0xhost +root@compute9:/data/nccode/0522DM/bin# export DISPLAY=10.10.10.10:0.0root@compute9:/data/nccode/0522DM/bin# ./sysConfig.sh
喜欢的点个赞❤吧!
不支持图形化界面的Linux系统如何显示图像化界面?飞腾服务器显示图像化界面方法 DISPLAY environment variable is undefined问题解决方法