LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2008, 07:55 PM   #1
Nick_01
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
Enabling GUI mode in Secure CRT


Hi,

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,
 
Old 04-05-2008, 01:50 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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 http://www.rahul.net/kenton/xsites.html.
--- rod.
 
Old 04-05-2008, 03:14 PM   #3
Nick_01
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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>./runInstaller.sh &
[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 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Can't connect to X11 window server using '192.168.200.24:0.0' as the value of the DISPLAY variable.
192.168.200.24:0.0
192.168.200.24:0.0
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '192.168.200.24:0.0' 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-10026epending 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 192.168.6.54:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.6.54:0.0; 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:
echo $DISPLAY
- 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 ./runInstaller.sh
/opt/oracle/product/10.2.0/oui/bin>echo $SHELL
/bin/bash
/opt/oracle/product/10.2.0/oui/bin>DISPLAY=192.168.6.54:0.0; export DISPLAY
/opt/oracle/product/10.2.0/oui/bin>
/opt/oracle/product/10.2.0/oui/bin>echo $DISPLAY
192.168.6.54:0.0
/opt/oracle/product/10.2.0/oui/bin>xhost +
-bash: xhost: command not found
 
Old 04-05-2008, 05:45 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 04-06-2008, 01:23 AM   #5
Nick_01
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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 X-server..so 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..
 
Old 04-07-2008, 12:49 AM   #6
Nick_01
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Hi,

Can you please update.. I have to complete the task for 10 servers.All the servers are unique in configuration.
 
Old 04-07-2008, 01:17 PM   #7
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 04-07-2008, 05:38 PM   #8
Nick_01
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the support. I used Xming and completed the installation. You are doing a wonderful Job out there..
 
  


Reply

Tags
crt, enable, gui, secure, server



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Profile variable exports in text mode, not in GUI mode....huh? duderancher Red Hat 1 09-13-2007 06:45 PM
LXer: Howto Boot debian in text mode instead of graphical mode (GUI) LXer Syndicated Linux News 0 09-09-2007 07:41 PM
Secure routing and enabling services (Advantek Networks Router) Hungry ghost Linux - Networking 0 10-04-2006 08:22 AM
X11 forwarding, redhat9, secure crt strago Linux - Software 5 03-06-2004 04:09 PM
secure crt help Zac2003 Linux - Software 5 02-22-2003 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration