-   Linux - Newbie (
-   -   Enabling GUI mode in Secure CRT (

Nick_01 04-04-2008 07:55 PM

Enabling GUI mode in Secure CRT

I am new to using the Secure CRT..I tried installing oracle from my client pc. I knew I require a XTERM , I used to use XTERM or Hummingbird to install applications that run on HP-UX , IBM-AIX, etc.. I am trying to install oracle in Linux from client pc with secure CRT..
can any one help me to configure X11 window in secure CRT to proceed further..

Thank You,

theNbomr 04-05-2008 01:50 PM

Its been a long time since I used S-CRT, but unless something has changed, there is no X server in S-CRT. That is what your Hummingbird Excede provides you with. Having said that, I don't know why you would need an xterm instead of the terminal emulation provided by Secure CRT. If you do actually need an X server for Windows, a good summary of the available options is available at
--- rod.

Nick_01 04-05-2008 03:14 PM

Hi ,

Thanks for your reply...Please let me`know what should i have to do a successful oracle installation on the server.. Having xhost + on the console will do my installation...I have the DISPLAY set to my local pc..please share your views and also let me know if I am missing something..

/opt/oracle/product/10.2.0/oui/bin>./ &
[1] 2884
/opt/oracle/product/10.2.0/oui/bin>Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-04-05_12-09-22PM. Please wait ...Oracle Universal Installer, Version Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Can't connect to X11 window server using '' as the value of the DISPLAY variable.
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '' as the value of the DISPLAY variable. The DISPLAY envir onment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0 '.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set th e DISPLAY environment variable:
- For csh: % setenv DISPLAY
- For sh, ksh and bash: $ DISPLAY=; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes wit h the native operating system such as 'xclock':
% <full path to xclock... see below>
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for furt her assistance.
Typical path for 'xclock': '/usr/X11R6/bin/xclock'

[1]+ Done ./
/opt/oracle/product/10.2.0/oui/bin>echo $SHELL
/opt/oracle/product/10.2.0/oui/bin>DISPLAY=; export DISPLAY
/opt/oracle/product/10.2.0/oui/bin>echo $DISPLAY
/opt/oracle/product/10.2.0/oui/bin>xhost +
-bash: xhost: command not found

theNbomr 04-05-2008 05:45 PM

Yup, you need an X server. So install one from the list I pointed you to in my previous reply. If you run Secure CRT to log into the Oracle host, simply turn on X-tunneling in S-CRT, and your $DISPLAY variable will automatically be properly set. Simply pointing $DISPLAY at your local PC will do nothing unless that PC is running an X server.

Maybe simpler, run a Linux live CD to login to the Oracle host. Use 'ssh -X' (does the same as S-CRT from Windows) to log into the Oracle host and run the installation. Once the Oracle server is installed, you probably won't need X any more.

--- rod.

Nick_01 04-06-2008 01:23 AM

I have both putty and S-CRT ..I could not see the tunnel in S-CRT..If you guide me with steps to set up the putty/S-CRT it will be of great help..I am a DBA and have oracle user credentials, should I have root user to login and enable permissions to have xclock working. I tried ssh -X oracle@hostname and ran runInstaller but still I get the same error..

The company policy doesnot allow me to use I request you to provide me the steps in configuring the S-CRT or PUTTY..Should I run Xhost + in the console to enable clients access..

Thank you for the support and looking forward to hear from you in this regard..

Nick_01 04-07-2008 12:49 AM


Can you please update.. I have to complete the task for 10 servers.All the servers are unique in configuration.

theNbomr 04-07-2008 01:17 PM

The information you posted 'Can't connect to X11 window server' says you need an X server. Neither CRT nor Putty provide this. If your company disallows the use of X servers, then you will be unable to install Oracle. The use of X tunneling in itself does not provide any X-windows functionality; it is merely a convenient and secure channel between the X client(s) and X server.
I'm sorry, but I do not remember the details of where to enable X tunneling in CRT. It is a long time since I last used it, and I don't even have a Windows host at my disposal to try it out on. It is a checkbox, probably somewhere in the dialog that you use to configure individual client addresses and related information.
Why don't you use a Linux live CD, as I suggested earlier? It has all of what you need, and technically, you won't be installing X...
--- rod.

Nick_01 04-07-2008 05:38 PM

Thanks for the support. I used Xming and completed the installation. You are doing a wonderful Job out there..

All times are GMT -5. The time now is 09:18 PM.