Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Linux xdpyinfo for 11g

RE: Linux xdpyinfo for 11g

From: Rich Jesse <>
Date: Thu, 16 Aug 2007 10:05:32 -0500 (CDT)
Message-ID: <25750.>

Hey Govindan,

There's a couple of things you can do. First, I'm not sure why you would need the xhost and the DISPLAY variable set, based on what you've shown. What would necessitate the need for those is not establishing an authenticated X session, such as using telnet or possibly "su".

If you've logged onto the graphic console of "testsacx", your authentication and DISPLAY should already be set up for you. If you are telnetting, then the DISPLAY variable needs to point to your *local* X windows box, and not testsacx. As an aside, in X11R6 (I believe), the use of xhost may be superseded and may not work at all, for security reasons.

Your easiest way to get your display is to login to the graphic console directly (it should look somewhat similar to a Windohs-type login). If that's not an option, then you must be running a local X Windows client in order to have the Oracle graphical installer display to your machine. Since I must run MS Windohs here at work, I use CygWin-X for my X display, then "ssh -Y oracle_at_myoraclebox" to login to the oracle box. The "-Y" (or "-X" in older versions of ssh) will carry your X authentication across to the new box and automatically setup your DISPLAY variable, provided your admin setup the sshd daemon to do so (not on by default).

Sound confusing? It can be, thanks to security holes inherent in using the xhost method.

Let us know how you login to "testsacx". That should help clear this up a bit.

HTH! Rich

Hello All

I am trying the install Oracle 11g on Linux.

The server is

$ uname -a

Linux testsacx 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux

$ xhost+ testsacx
$ export DISPLAY=testsacx:0.0

Received on Thu Aug 16 2007 - 10:05:32 CDT

Original text of this message