启动安装程序的时候调不出图形界面
出现在错误,并且错误信息提示需要设置环境变量 DISPLAY,下面设置环境变量 DISPLAY
[grid@pgylinux02 grid]$ exit
logout
[root@pgylinux02 Desktop]#
xdpyinfo
name of display: :1
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11500000
X.Org version: 1.15.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 6
...省略...只需要记录 name of display: 的值
[root@pgylinux02 Desktop]# xhost +
access control disabled, clients can connect from any host
[root@pgylinux02 Desktop]# su - grid
执行下面的语句这样就能正常安装了:
grid@pgylinux02@> export DISPLAY=:1 (这时设置为name of display的值:1)