Install Orale on Linux, the result xhost is always not good, the graphical interface does not come out, find the following data
Practical tip: Set up Xhost method steps in Linux
The first step: using Root to log Linux, start VNC service;
Step two: Based on the VNC port, set up export display=localhost:1 (1 means VNC on the first TTY), VNC launch information see annex 1;
Step Three: Execute Xhost + and prompt "Access control disabled, clients can connect to any host" is correct.
The operation log under Linux is as follows:
[Root@localhost ~]# Vncserver
New ' localhost:1 (root) ' Desktop is localhost:1
Starting applications specified In/root/.vnc/xstartuplog file Is/root/.vnc/localhost:1.log
[Root@localhost ~]# Export display=localhost:1
[Root@localhost ~]# Xhost +
Access control disabled, clients can connect to any host
When setting up Xhost, there is a unable problem. Use the appeal method to get it done.