Re: Using Redhat utility 'screen' with oracle install GUI and x11 forwarding

From: David Fitzjarrell <oratune_at_yahoo.com>
Date: Thu, 20 Feb 2014 14:56:19 -0800 (PST)
Message-ID: <1392936979.44519.YahooMailNeo_at_web124701.mail.ne1.yahoo.com>



We use vnc for our X-window sessions and it is a lifesaver when connectivity issues cause a remote connection to terminate.  Simply reconnecting to the vnc server reattaches to the X session.  It has saved me from the frustration of losing connectivity and my X-windows session and allows me to reliably disconnect from the jump server and reconnect at a  later time (such as leaving the office and setting  up again once I'm home).   David Fitzjarrell Primary author, "Oracle Exadata Survival Guide" On Thursday, February 20, 2014 3:43 PM, Martin Bach <development_at_the-playground.de> wrote: Hi there, Apologies in advance if this doesn't answer your question but there might be a better way to reattach to an X session. In all the attempts to forward x11 (where wasn't deactivated for security reasons) I found it to be dreadfully slow and susceptible to network failure such as a laptop going to sleep or hibernation. Or windows decided to reboot or similar mishaps. In all these cases oui was practically unusable (slow) or didn't work at all. The solution of my choice is either a silent installation in screen (cool because it can be done so it is identical on all hosts) or if GUI was needed then using vnc. Unlike x forwarding which always died on me if the initial connection was lost, I could reliably reattach to running sessions and resume where I was. Oh and if you have a firewall simply forward port 590x and you have a SSH encrypted connection as an added goody. Your vnc client then points to localhost:x Hope this helps, Martin On 20 February 2014 23:08:01 CET, Dba DBA <oracledbaquestions_at_gmail.com> wrote: The forwarding works. 'screen' is a linux utility. It lets you leave your remote session and it keeps running on the server. Its like running nohup, but you can do it with something interactive like sqlplus. Then reconnect later. your session keeps running.  > > >I am looking to see if anyone knows how to get x11 to work with screen. I can re-attach to my unix session, but I think my x11 projection is gone.  > > >http://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/ > > > > > > > > >On Thu, Feb 20, 2014 at 4:53 PM, Lange, Kevin G <kevin.lange_at_optum.com> wrote: > >Did you xhost + to allow the forwarding ? >>  >>From:oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Dba DBA >>Sent: Thursday, February 20, 2014 3:49 PM >>To: ORACLE-L >>Subject: Using Redhat utility 'screen' with oracle install GUI and x11 forwarding >>  >>Redhat 6 64 bit >>11.2.0.4 clusterware install >>xming run on laptop >>  >>I have to get behind a firewall, so I go to a specified unix server and then execute >>  >>ssh -X oracle_at_<IP> >>  >>In putty I use >>  >>x11 forwarding  >>x display option: localhost:0.0 >>  >>I do not set the DISPLAY parameter in unix since I am using x11 forwarding. So its a little different. >>  >>I ran screen, executed the server. Was able to get back into the server and re-attach to my session. >>  >>How do I get back into the x11 forwarding of the GUI installer? I think I did this a few years ago, but I can't remember how. I need to kick off installs and leave, plus my VPN can drop me during the install.  >>  >>I am re-attached to my screen session, but dont know how to get back into the GUI installer. >>  >>anyone know? >> >>This e-mail, including attachments, may include confidential and/or >>proprietary information, and may be used only by the person or entity >>to which it is addressed. If the reader of this e-mail is not the intended >>recipient or his or her authorized agent, the reader is hereby notified >>that any dissemination, distribution or copying of this e-mail is >>prohibited. If you have received this e-mail in error, please notify the >>sender by replying to this message and delete this e-mail immediately. > -- Martin Bach Enkitec www.enkitec.com martincarstenbach.wordpress.com
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Feb 20 2014 - 23:56:19 CET

Original text of this message