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