The problem of creating DBCA error problem under Linux operating system

  

environment is linux as 4


When I create dbca, I get the following error:

Xlib:connection to ": 0.0" refused by server

Xlib:No protocol specified

java.lang.NoClassDefFoundError


Workaround:


Use first The root user executes:

#xhost


Then switch to Oracle:

$export DISPLAY=localhost:0.0

$dbca


or execute with Oracle user:

->xhost

->export DISPLAY=127.0.0.1:0.0

->dbca < Br>

Copyright © Windows knowledge All Rights Reserved