The typical complaint is "I issued the DISPLAY command and it tells me I don't have permission." or "I tried to runInstaller"
This is often an indication of doing things in the wrong order.
The correct sequence is:
- Log on to the computer that *owns* an XWindows screen. This could be a Linux machine with gnome/KDE/twm, or perhaps a Windows machine with cygwin/X, Xming, or perhaps Hummingbird (now OpenText) eXceed ... these are known as XServers.
- Tell that Xserver (screen) to accept remote requests, by issuing "xhost +" (note that the + disables security)
- Log on to the computer / user that is to use the XWindows - the one that contains the runInstaller
- Tell that to display on the computer that is to be used for display using export DISPLAY=(host):display.screen
- Run the program that needs a display
- Log on to XWindows as root. Do NOT su to root! Do NOT pass GO. Do NOT collect $200.
- Open a terminal
- Enter: xhost +
- Find out which DISPLAY is used by entering: set | grep -i DISPLAY
- Enter: su - oracle
- Enter: export DISPLAY=:0.0 # of course, base this on step 4
- Enter: runInstaller # (or whatever is required, such as xeyes)