Re: Oracle Installer on Linux - issue with X windows

From: Svetoslav Gyurov <softice_at_gmail.com>
Date: Fri, 31 Jan 2014 12:56:28 +0000
Message-ID: <CAKA5Cb+f68oEPg93cfWHD2NYnasVzzZKPmGvEO=8T_KP-o0gbw_at_mail.gmail.com>



For years now I have been using X11 forwarding using SSH and Xming. So much easier and quicker to run, especially useful if you are behind firewall or NAT. On Windows:
Just open you PuTTY, Connection tree -> SSH - > X11 there you have Enable X11 forwarding. The X location is set to localhost:0 by default so just leave it empty.

On Linux:
It's there by default, just use ssh -X user_at_host (or -Y for trusted X11 forwarding)

The first time you login and X11 forwarding is present you should see the following line:
/usr/bin/xauth: creating new authority file /home/oracle/.Xauthority

In case you don't there are couple of things to check: 1. xauth package should be installed on target host (if it's linux)

2. X11 forwarding should be enabled on the SSH server: /etc/ssh/sshd_config
X11Forwarding yes

3. If you see the following error the daemon is trying to bind to ::1 so enable IPv6 on the server or specify "AddressFamily inet" in your server sshd_config file:
sshd[11422]: error: Failed to allocate internet-domain X11 display socket.

If the graphics are REALLY slow to refresh then enable compression, sometimes it really helps:
On Windows: PuTTY -> Connection tree -> SSH -> Enable compression On Linux: ssh -o CompressionLevel=9 -Y user_at_host

Regards,
Sve

On Thu, Jan 30, 2014 at 9:46 PM, Don Seiler <don_at_seiler.us> wrote:

> I prefer using VNC instead of X11 forwarding. Install and start vncserver
> for the oracle user, then you can use the VNC client of your choice.
>
>
> On Thu, Jan 30, 2014 at 3:21 PM, CRISLER, JON A <JC1706_at_att.com> wrote:
>
>> I was going to suggest the same thing: try xming . It sounds like your
>> problem is purely a xwindows issue, so make sure that things like xclock ,
>> xeyes or other basic xwin type programs work first. I would say your
>> problem is not Exceed specifically but a newer version would not hurt J Sometimes X progs that work fine under root fail when you su to another
>> user, as the various things that are used to support X are not enherited by
>> the switched user: in that case ssh directly to the box as your install
>> user (typically the "oracle" user but whatever is your standard).
>>
>>
>>
>> *From:* oracle-l-bounce_at_freelists.org [mailto:
>> oracle-l-bounce_at_freelists.org] *On Behalf Of *max scalf
>> *Sent:* Thursday, January 30, 2014 3:34 PM
>> *To:* Niall Litchfield; peter.schauss_at_ngc.com
>> *Cc:* ORACLE-L
>> *Subject:* RE: Oracle Installer on Linux - issue with X windows
>>
>>
>>
>> I ran into similar situation doing 11.2.0.3 Rac install...we were using
>> exceed as well and suggestions was to move to higher version of exceed. As
>> we couldn't do that I installed something called Xming and that worked for
>> me. So try Xming, it open source.
>>
>> Thank you
>> ------------------------------
>>
>> *From: *Niall Litchfield <niall.litchfield_at_gmail.com>
>> *Sent: *1/30/2014 2:09 PM
>> *To: *peter.schauss_at_ngc.com
>> *Cc: *ORACLE-L <oracle-l_at_freelists.org>
>> *Subject: *Re: Oracle Installer on Linux - issue with X windows
>>
>> I'd recommend either a silent install or a clone home as outlined
>> http://orawin.info/blog/2011/07/27/in-praise-of-clones/ . If you have a
>> large estate and do this regularly say for patching then look into em12c
>> deployment procedures (but I would say that wouldn't I )
>>
>> I am trying to install Oracle 11.2.0.4 on Redhat Enterprise Linux (6.4).
>> I have no physical access to the console, so I have to run the installer
>> remotely. Here is what I have done:
>>
>> - On my PC (Windows 7 ), I start Exceed (version 10).
>> - On the server I set the DISPLAY to point to the xserver on my PC
>> (export DISPLAY=<ip address>:0).
>> - To verify the connection a start xclock from the server.
>> - ./runInstaller
>>
>> The installer starts and gives no errors, but the xwindow from the
>> installer never appears on my PC screen.
>>
>> The command ps -lf | grep oracle shows that the installer is running.
>>
>> The command_output_nnnn file shows information about my xserver, the
>> software version, color and resolution specs... so that I know that the
>> installer is talking to it.
>>
>> One of the DBAs told me that I need version 14 of Exceed. Has anyone
>> else run into this issue and is there a workaround?
>>
>> BTW, running xterm is not an option in our environment, apparently for
>> security reasons.
>>
>> Thanks,
>> Peter Schauss
>> --
>> http://www.freelists.org/webpage/oracle-l
>>
>>
>
>
> --
> Don Seiler
> http://www.seiler.us
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jan 31 2014 - 13:56:28 CET

Original text of this message