Lab Environment:
Mac OS: OS X 10.9.4 Mavericks
Mac IP 192.168.1.106
xquartz:2.6.7
Virtual machine version: VirtualBox 4.3.12
Virtual Machine ip:192.168.1.112
Virtual machine Operating system version: Oraclelinux 5.7
Oracle database version: ORACLE11GR2 11.2.0.3
1, open Xquartz
Double-click the Xquartz icon to appear with a terminal-like window with black lettering on the white background.
2,ssh to the virtual machine's operating system
bash-3.2$ ssh-xy [email protected]
Enter Password: Oracle (Oracle is the password for Oracle users on my virtual machine)
3, setting the display variable
Most of the time, even the display does not have to be set to open the graphics page
At this point Xquartz has ssh into the virtual machine and set display with export. IP address for Mac host 192.168.1.106
[Email protected] ~]$ export display=192.168.1.106:0.0
4. Start Graphics DBCA
[Email protected] ~]$ DBCA
Xquartz Remote access to Linux