Database creation on Linux with dbca: "command not found" I have installed an Oracle on my machine. When I open a session with VNCServer and type dbca,  either as root or as oracle, I get these errors:


-bash : -dbca : Command Not found
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


What do I need to do to fix this?
Regarding your first error ('dbca: command not found'):


ensure ORACLE_HOME is set correctly
ensure $ORACLE_HOME/bin is in your path
run the command as oracle user


If the error persists, check the contents and permissions of $ORACLE_HOME/bin.