当你运行xterm出现错误如下:
    xterm Xt error: Can't open display:
    xterm: DISPLAY is not set

解决办法:
    yum -y install xorg-x11-xauth
    
重新开一个新窗口即可!