Home > Database > Mysql Tutorial > body text

Linux安装Oracle 11时报错DISPLAY解决方案

WBOY
Release: 2016-06-07 16:57:29
Original
2233 people have browsed it

在Linux上安装Oracle时,经常会报以下错误:无法使用命令 /usr/X11R6/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了DISPLA

在Linux上安装Oracle时,经常会报以下错误:

无法使用命令 /usr/X11R6/bin/xdpyinfo 自动检查显示器颜色。请检查是否设置了DISPLAY 变量。

可以使用下述命令解决这个问题:

1.在root下执行 启动vnc服务

vncserver #xdpyinfo

记录下name of display:后的字符串,如 127.0.0.1:1.0

2. #xhost +

返回信息为: access control disabled,clients can connect from any host

3.切换到Oracle用户:

#su - oracle

4.在Oracle用户下执行命令: export DISPLAY=:1.0

5.在Oracle下执行xdpyinfo命令,如果能正常显示,说明设置成功

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!