Setup xWindows when install Oracle on linux or create database using dbca GUI

When install Oracle or create database using dbca GUI on linux, I use VcXsrv (thanks for the free tool),steps are:

  1. download VcXsrv.zip from https://www.scrc.umanitoba.ca/doc/tutorial/T19_3a_xmingputty.htm
  2. extract to C:\oracle\VcXsrv
  3. Right click on Start VcXsrv_PuTTy.cmd
  4. select Run as Administrator
  5. right click on Xming icon in Windows tray (right bottom of screen) and select New Putty session
  6. select the saved sessions or enter new session Host Name or IP address
  7. connect as oracle (so you don't have to relay the display after you sudo su - oracle)
  8. Only continue if not login as oracle user
  9. xauth list (copy the output, be used in later step)
  10. sudo -i -u oracle
  11. xauth add (paste the output from step above mentioned)