1 2 Previous Next 19 Replies Latest reply on Feb 5, 2008 5:58 AM by tcoker6

    Unable to execute runInstaller: Check if the DISPLAY variable is set

    131861
      I am unable to run the Oracle Installer (runInstaller) on my Solaris10 client (Windows Vista PC). The IP address of my PC is 192.168.0.191 and the IP address of the remote Sun server (from which I am invoking the runInstaller) is 192.168.0.192.

      COULD ANYONE PLEASE HELP ME WITH THE FOLLOWING ERROR. Thank you in advance.

      Database server machine: Solaris 10
      Client machine: Windows vista
      Connected via: SecureCRT with X11 packet forwarding enabled


      ---( ERROR )-----------------------------------------------------------
      oracle@pvsparc$ id -a
      uid=100(oracle) gid=102(oinstall) groups=102(oinstall),100(dba),101(oper)
      oracle@pvsparc$
      oracle@pvsparc$ echo $DISPLAY
      192.168.0.191:0.0
      oracle@pvsparc$

      oracle@pvsparc$ ./runInstaller
      Starting Oracle Universal Installer...

      Checking installer requirements...

      Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
      Passed

      Checking Temp space: must be greater than 250 MB. Actual 2073 MB Passed
      Checking swap space: must be greater than 500 MB. Actual 2160 MB Passed
      Checking monitor: must be configured to display at least 256 colors
      >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

      Some requirement checks failed. You must fulfill these requirements before

      continuing with the installation,at which time they will be rechecked.

      Continue? (y/n) [n]
      -------------------------------------------------------------------------------
        • 1. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
          Hans Forbrich
          Good thing you have told the system it can display on the Vista machine.

          However, there are 2 other conditions you need.

          1) Since Sun displays using X-Windows format, the Vista machine needs to run a program that knows how to receive and display X-windows format stuff. That could be Hummingbird X-ceed, or Cygwin/X

          2) The display program on Vista needs to give permission to the Sun programs to use the display.

          You might want to look at some of the documentation over at http://www.cygwin.com in the X section.
          • 2. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
            Madrid
            Verify if you are able to launch an xclient such as xclock. If not, verify your xterm emulator configuration and check privileges granted through the xhost command (xhost +) to enable all clients.


            ~ Madrid
            • 3. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
              131861
              Hi Madrid / Hans,

              Thanks for your prompt replies! Please see the output of the commands that you have suggested:

              oracle@pvsparc$ id -a
              uid=100(oracle) gid=102(oinstall) groups=102(oinstall),100(dba),101(oper)
              oracle@pvsparc$
              oracle@pvsparc$ xclock
              Error: Can't open display: 192.168.0.191:0.0
              oracle@pvsparc$
              oracle@pvsparc$ xhost +
              xhost: unable to open display "192.168.0.191:0.0"
              oracle@pvsparc$
              • 4. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                Hans Forbrich
                Hi Madrid / Hans,

                Thanks for your prompt replies! Please see the output
                of the commands that you have suggested:

                oracle@pvsparc$ id -a
                uid=100(oracle) gid=102(oinstall)
                groups=102(oinstall),100(dba),101(oper)
                oracle@pvsparc$
                oracle@pvsparc$ xclock
                Error: Can't open display: 192.168.0.191:0.0
                oracle@pvsparc$
                oracle@pvsparc$ xhost +
                The xhost command must be run on the display environment. In other words, the program on the Vista machine.

                I am not familiar with Vista - can it natively display X11 requests? If not, which program on the Vista machine are you using to manage the display?
                • 5. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                  131861
                  I am using SecureCRT5.5 terminal emulator. Here is more info: http://www.vandyke.com/products/securecrt/

                  I am running xhost command from Windows Vista PC running the SecureCRT5.5 terminal emulator. And, the SecureCRT5.5 terminal emulator is connected to the remore Sun server via ssh.

                  I have enabled the X11 Forwarding. According to SecureCRT5.5 "Selecting this option causes SecureCRT to request that the remote machine forward X11 data to the X server running on the local machine". My understanding is that enabling this option should further enable the Windows to accept X11 packets.
                  • 6. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                    433180
                    Download Xming plus the Xming fonts. 2 installs. Then run Xming while X11 forwarding is on and it should work. Cygwin can take a while to install and for XWindows it can make things too complex if you are trying to do something simple. (I run Cugwin at work though and it works great).

                    Xming is free and you can get it at sourceforge.
                    • 7. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                      131861
                      I have downloaded and installed the Xming for widows. Errors are slightly different this time around. Please see the following:


                      # xhost +
                      Xlib: connection to "192.168.0.191:0.0" refused by server
                      Xlib: No protocol specified
                      xhost: unable to open display "192.168.0.191:0.0"

                      # exit

                      oracle@pvsparc$
                      oracle@pvsparc$ xhost +
                      Xlib: connection to "192.168.0.191:0.0" refused by server
                      Xlib: No protocol specified
                      xhost: unable to open display "192.168.0.191:0.0"


                      oracle@pvsparc$
                      oracle@pvsparc$ xclock
                      Xlib: connection to "192.168.0.191:0.0" refused by server
                      Xlib: No protocol specified
                      Error: Can't open display: 192.168.0.191:0.0


                      oracle@pvsparc$ pwd
                      /u01/app/oracle/oraInventory/oracle10g_r2
                      oracle@pvsparc$ ./runInstaller
                      Starting Oracle Universal Installer...

                      Checking installer requirements...
                      Checking operating system version: must be 5.8, 5.9 or 5.10. Actual 5.10
                      Passed
                      Checking Temp space: must be greater than 250 MB. Actual 2079 MB Passed
                      Checking swap space: must be greater than 500 MB. Actual 2160 MB Passed
                      Checking monitor: must be configured to display at least 256 colors
                      >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<

                      Some requirement checks failed. You must fulfill these requirements before

                      continuing with the installation,at which time they will be rechecked.

                      Continue? (y/n) [n] n

                      User Selected: No

                      Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2007-12-24_08-05-28PM/installActions2007-12-24_08-05-28PM.log
                      oracle@pvsparc$
                      • 8. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                        Hans Forbrich
                        As Madrid said - you need to have successful 'xclock' or 'xterm'. These are extremely simple apps that run X11.

                        1) If you can get them to work, then the runInstaller will likely work. Save yourself the headache of the runInstaller messages until xclock or xterm displays on the Vista box. Google is your friend for this - keywords 'display X11 on vista' might get you somewhere.

                        2) Forget about running xhost + on the solaris machione. The xhost command tells the machine which has the screen and is responsible for displaying stuff to accept requests.

                        The Solaris machine is generating requests. The Vista machine needs to accept requests. xhost (or some other 'permission to display here on the Vista screen' command) needs to be run on the Vista machine
                        • 10. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                          Hans Forbrich
                          This has little or nothing to do with Oracle. Your issue is with SecureCRT5.5 terminal emulator, and specifically with X11 forwarding. Why not get the VanDyke folks involved?
                          • 11. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                            Nicolas Gasparotto
                            I don't know XMing, but for CygWin, you have to use a Cygwin windows to enable the XClient, not an external tool. Did you use the XMing tool windows, or did you continue with SecureCRT ?

                            Steps for Cygwin :
                            1. install from http://cygwin.com/setup.exe
                            2. choose installation from internet
                            3. the following server worked for me http://cygwin.cybermirror.org
                            4. ensure the following packages are check :
                            xorg-x11-base (2 KiB; required, automatically selects a base set of packages for the typical installation)
                            xorg-x11-bin (1.2 MiB; optional, executables for xterm, twm, etc.)
                            xorg-x11-bin-dlls (2 MiB; optional, libraries (DLLs) for executables.)
                            xorg-x11-bin-lndir (5 KiB; optional, lndir program, useful for developing)
                            xorg-x11-devel (964 KiB; optional, additional files needed to compile programs for Cygwin/X)
                            xorg-x11-etc (335 KiB; required, configuration files for the X Server and programs in xorg-x11-bin)
                            xorg-x11-f100 (12 MiB; optional, 100 dpi fonts (75 dpi fonts are used by default))
                            xorg-x11-fcyr (368 KiB; optional, Cyrillic fonts)
                            xorg-x11-fenc (489 KiB; required, font encodings)
                            xorg-x11-fnts (16.4 MiB; required, 75 dpi fonts)
                            xorg-x11-fscl (2.2 MiB; optional, Speedo and Type1 scalable fonts)
                            xorg-x11-fsrv (201 KiB; optional, X Font Server)
                            xorg-x11-libs-data (154 KiB; required, X11R6/lib/ files)
                            xorg-x11-man-pages (551 KiB; optional, man pages)
                            xorg-x11-man-pages-html (596 KiB; optional, man pages in html format)
                            xorg-x11-nest (1.1 MiB; optional, Xnest nested X Server)
                            X-start-menu-icons (4 KiB; optional, adds icons for X Clients to the Start menu)
                            X-startup-scripts (22 KiB; required, example X Server and client startup scripts)
                            xorg-x11-vfb (1.2 MiB; optional, X Virtual Frame Buffer (Xvfb) server)
                            xorg-x11-xwin (1.3 MiB; required, the Cygwin/X X Server)
                            xorg-x11-xwin-gl (761 KiB; optional, the Cygwin/X X Server with ***EXPERIMENTAL*** GLX acceleration)
                            You may also want to ensure that the inetutils and openssh packages are selected if you wish to use telnet and ssh to connect to remote machines.
                            5. open the Cygwin icon on your desk
                            6. run the following command in the new opened window (a DOS window command) :
                            sh /usr/X11R6/bin/startxwin.sh
                            7. from the new window (a X window session), run
                            ssh -Y RemoteServerIPaddress
                            8. test by runing a xlock command

                            Nicolas.
                            • 12. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                              Ramesh Eega
                              If you still have problems with cygwin, try "exceed" which is fairely configures everything it self. You may able to download trial version (It is humming bird's product)
                              • 13. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                                584980
                                1)Download Xmanager from http://www.xmanager.com and please make sure SSH is enabled on your sun server.
                                2)su - oracle (or whatever you try to install Oracle)
                                3)export DISPLAY=192.168.0.191:0.0
                                4)Then Start-Programs-Xstart
                                5)Enter IP in the Xstart:192.168.0.192
                                6)Then invoke runInstaller on your Sun server.
                                I hope it will work.
                                • 14. Re: Unable to execute runInstaller: Check if the DISPLAY variable is set
                                  Nicolas Gasparotto
                                  Yes, as Ivan Kartik shows us on his blog, there are multiple solutions for XWindows client :
                                  http://ivan.kartik.sk/index.php?show_article=33

                                  Nicolas.
                                  1 2 Previous Next