Linux需要图形化界面交互时OUI-10027:To enable client users to access the X Server

在上篇博客https://blog.csdn.net/whandgdh/article/details/102925450中安装oracle 透明网关时出现
Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as ‘xclock’:
%
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.

解决办法 用xshell root用户登录,这里xshell 一般都要安装xmanager,支持图形化界面
执行
export DISPLAY=:0
再执行

 xhost 10.248.19.43  #Xmanger 安装的ip

在这里插入图片描述
执行 进行检验

xhost +

出现如下结果表示正常
在这里插入图片描述
再切换 oracle用户

su - oracle
export DISPLAY=10.248.19.43:00

在这里插入图片描述

然后再执行安装
在这里插入图片描述

成功安装
Linux需要图形化界面交互时OUI-10027:To enable client users to access the X Server_第1张图片

你可能感兴趣的:(Linux)