Tag Archives: /usr/bin/xdpyinfo

The command / usr / bin / xdpyinfo cannot be used to automatically check the display color

When installing Oracle 11g of Linux version through VNC, you can’t use the command/usr/bin/xdpyinfo to automatically check the display color, which can be solved by the following methods

1. Execute under root

#xdpyinfo | grep name, write down the string after name of display: 1.0

2. #xhost +

The return information is: access control disabled, clients can connect from any host

3. Switch to Oracle user:

#su – oracle

4. Execute the command under Oracle user

export DISPLAY=:1.0

5. Execute xdpyinfo command under oracle. If it can be displayed normally, it indicates that the setting is successful