Unable to open the xclock in RHEL even after setting the display

Hi All,
I''ve install the oracle on linux before that i need to se the diplay in order to launch OUI however I couldnt make it.
and the showstopper is shown below.
[root@Machine1 Desktop]# DISPLAY=192.168.0.129:1.0
[root@Machine1 Desktop]# export DISPLAY
[root@Machine1 Desktop]# xhost +
xhost: unable to open display "192.168.0.129:1.0"
[root@Machine1 Desktop]#
Could any please help on this ASAP.

Ramu Jagini wrote:
Hi All,
I''ve install the oracle on linux before that i need to se the diplay in order to launch OUI however I couldnt make it.
and the showstopper is shown below.
[root@Machine1 Desktop]# DISPLAY=192.168.0.129:1.0
[root@Machine1 Desktop]# export DISPLAY
[root@Machine1 Desktop]# xhost +
xhost: unable to open display "192.168.0.129:1.0"
[root@Machine1 Desktop]# LOL.
First and foremost - get out of the habit of using root unless absolutely required. You will not be able to use root in the real world and using it now for this kind of activity will simply introduce wrong habits.
Working as root most of the time ... Bad habit. Bad bad habit. Anyone teaching to log in and stay as root ... shame. In business, auditors will note the habit and user will be reprimanded, up to and including 'go find a new job - you are not the SysAdmin'.
Secondly - you need to understand xhost, and indeed 'display ownership'. When you log in to the Desktop, your screen is 'owned' by a userid. You use xhost (unwisely most of the time) to give permission to others to display on your screen.
Thirdly - you need to understand the influence of DISPLAY variable - it tells programs where they should display... on an authorized display ... such as the one authorized by xhost.
Since you want to do it the wrong way, use the following sequence:
1) Log all the way out of Linux and the desktop (all the way - ensures you don't have screwed up environment)
2) Log in (whatever user you wish - even the bad habit, go stand in the corner, root user)
3) Open a new terminal and give permission to the world to use your screen and get the IP address of the machine. Prior to this xhost command do NOT su (nor set DISPLAY); do not cross Go; do not collect $200
4) Open a new session, preferrably on a different computer (but open new terminal and then 'su - (otheruser)' will do)
5) Under that new user, tell it to display on the IP address and screen from step 3
6) Run xclock
But ... to install Oracle s/w, the 'right way' is to simply log all the way out and then log in to a new desktop as the non-root Oracle owner (on the machine; or using Xming or Xceed or ...; or using VNC client such as UltraVNC or TightVNC)
Did you notice that logging in as root by habit is a bad idea?

Similar Messages

  • The Outlook links do not connect to Firefox even after setting the customize option in Default Programs. Please help.

    The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.

    Message to Toad-Hall
    Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
    I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
    Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying..

  • TS1702 iam unable to down load application from iTunes even after resetting the password!!! pl advise how to fix

    I have a serious issue with my iTune store, its not down loading even after resetting the password!!! can someone help me to fix this problem..

    What password did you change?  Your Apple ID password?  If you changed that, did you go to:
    Settings > iTunes and App Store
    Tap on Apple ID
    Sign Out
    Sign Back In with correct Apple ID and Password

  • HT3964 My computer freezes after running for about 15 min even after setting the energy saving to 3 hours

    My Mac computer freezes after running for 15 min even after seeting the energy saving to 3 hours. Any ideas how to stop the freezing/

    Hi Teodorafrombc,
    Thanks for visiting Apple Support Communities.
    If your computer is becoming unresponsive, you may want to see if specific applications are causing this behavior. Try using the Force Quit menu to check for unresponsive applications:
    Using the Force Quit feature of OS X makes an application close, even when it is not responsive.
    Important: Normally you should not need to force quit an app to close it. When an app is forced to quit, any unsaved changes to open documents are not saved, so try these methods to normally close the app first:
    Choose Quit from the app menu. For example, in Safari, choose Safari > Quit Safari.
    Choose Quit by right-clicking or control-clicking on an app's icon in the Dock
    You can find the article with these steps here:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    If your display is going blank or seems to be going to sleep unexpectedly, try these steps first:
    Reset the system
    You can reset the Mac's parameter RAM and SMC.
    You can find the article with these steps and more information here:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    If these steps don't resolve the issue, feel free to reply with more information about the symptoms you are experiencing.
    Best,
    Jeremy

  • In my fire fox window every thing has disappeared including firefox tab and address and menu bars and the problem is persisting even after reinstalling the brow

    i used hotspot shield after that this problem occured. the whoole screen is blank and i cant see or do anything on firefox except closing it or opening a new tab via CNTROL +T

    You can check for problems with the localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf
    You can use this button to go to the Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Can you bring up the menu bar with pressing the F10 key or tapping the Alt key?
    *View > Toolbars (press F10 to display a hidden menu bar)
    Open the Customize window to set which toolbar items to display:
    *Firefox menu button > Options
    *View > Toolbars (press F10 to display the menu bar)
    *Right-click empty toolbar area
    *check that "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    *If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the toolbar palette in the customize window to the Bookmarks Toolbar
    *if missing items are in the toolbar palette then drag them back from the Customize window on the toolbar
    *if you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up

  • "Java Update" continually pops up on my computer saying I need to download the latest version. Even after downloading the latest version, this notice still pops up. I am worried it is a potential virus?

    "Java Update" continually pops up on my computer saying I need to download the latest version (8.25). Even after downloading this latest version, this notice still pops up. I am worried it is a potential virus?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Drag the image file into the editing window to upload it. You can also include text in the reply.

  • CK40N - Still open even after applying the note

    Hello Everyone!
    Greetings!
    Experiencing issues in the costing run. SAP ECC 5.0
    After the marking job completion observed that there are some u2018Still Openu2019 items. After some research found the SAP notes u2013 0000542790, 0001321242 & 0001402978.
    SAP note 0000542790 is not applicable to us as the client is on SAP ECC 5.0. For the short term fix, as per the note 542790 have executed the command u2018=cksuu2019. It worked.
    To apply the notes 0001321242, 0001402978 was testing in the test systems and I still see the u2018STILL OPENu2019 items even after implementing the SAP notes 0001321242 and 0001402978. Both the notes have been sucessfully implemented and also verified the corrections.
    Any suggestions/advice, please. Thanks in advance !
    Satish

    Hi Satish,
    There can be valid reasons for the 'still open' Materials.
    The following are reasons for 'still open'
    1. the materials were included in another costing run so there was an
    overlap in released cost estimates
    2. there was already a released cost estimate for those materials so
    the system did not allow for another one - this could have been costed
    manually and released manually (ck11) rather than in ck40n
    3. there was a stop in the job that ran to release them (you mentioned
    periods were closed). After the restart, some of the statistics could
    have been incorrectly updated.
    Furthermore, please see the note:
    542790     Inconsistency correction: Costing run statistics
    If need need to find the 'still open' Materials.
    If you run tCode 'SE16' and view the table table KALM which contains
    the entries for all materials costed within the costing run.
    Field 'KALM-FEH_STATUS is the cost estimate's status after step costing.
    1) Find cost estimates created originally within cstg run
    So, you have to select all entries of KALM for the specific costing
    run which are having KALM-FEH_STATUS = 'KA'.
    This is the number of cost estimates which should have been marked in
    the later marking step.
    2) Find cost estimates released successfully
    The set of released cost estimates is given by selection of table
    KEKO: specify KALAID and KALADAT and FEH_STA = 'FR'.
    3) Find missing cost estimates
    Compare the results of 1) and 2):
    Which material/plant have an KALM entry, but not a released cost
    cost estimate ?
      > this will be the set of cost estimates you are looking for...
    Regards,Declan

  • Still sleeping even after setting Energy Saver to Never

    I'm trying to use my 2.53 GHz (Late 2009) MM as a server but even after setting the 'Computer sleep' preference to 'Never' in the Energy Saver System Preferences panel, the MM still goes to sleep. This isn't a big issue for me since I can and have used Wake On Lan apps/scripts, but it's a major pain in the you-know-what for other people who need to access this server over the internet.
    Could there be some persistent overriding preference somewhere that is allowing this MM to go to sleep when in fact it should not be because of my setting? I've searched but can find anything.
    TIA for any help with this.

    Interesting... I had an EyeTV that I did install on an older G5 PowerMac that I stopped using before I migrated to this MM back in March. I'll check to see if the EyeTV app was also migrated over and uninstall it if necessary.
    I would have thought that the EyeTV software would default to a "Never Sleep" state considering it's purpose. I'll check this possibility out when I get home after the long weekend.

  • I have always been able to open e-mail photo attachments even after trnsferring them to the desktop or a thumbdrive, but after moving the last two

    I have always been able to open e-mail photo attachments even after transferring them to the desktop or a thumbdrive, but after moving the last two to the desktop and trying to open them I get the message that ColorSync is unable to open files of this type. I believe they are jpegs.

    When I attach a PDF to Apple Mail on Mountain Lion, it is an icon. When I send it to an iCloud mail destination, the attachment arrives and is presented as an icon, whether on OS X, or in IOS 6.
    I suspect that the recipient's mail user agent is responsible for the full image .vs. icon behavior, and there is nothing you can do to prevent it.

  • I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    I noticed when I restart Firefox 4, it opens my previous tabs even I set the option "Open a blank page" and it opens blank page when I have "Show my windows and tabs from last time". Please ignore my question if you're already aware of this issue. Thanks.

    Your previous tabs will not re-open or be available to re-open when starting Firefox if:
    *your previous session was in Private Browsing mode; see --> http://support.mozilla.org/en-US/kb/Private+Browsing
    *you use Clear Recent History (''Firefox button > History > Clear Recent History'' or ''Tools > Clear Recent History''); see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-clear-my-history
    *you clear History automatically when closing Firefox; see --> https://support.mozilla.org/en-US/kb/Clear%20Recent%20History#w_how-do-i-make-firefox-clear-my-history-automatically
    NOTE: Your third-party Plugins (Add-ons > Plugins) are not in the "Application Basics" (Troubleshooting Information) in the "More system details" of your original post. Third-party Plugins are categorized separately in "Installed Plugins" under "More system details". You should review but not change the Plugins as detected automatically by the software on this forum when posting a question.
    If you problem still exists after checking the above, the problem could be caused by one or more of your Extensions or Plugins:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I am trying to open iPhoto 9.3.2 on my iMac with OSX 10.7.4 and even after downloading the iPhoto updater it still will not open.  Any suggestions.

    I am trying to open iPhoto 9.3.2 on my iMac with OSX 10.7.4 and even after downloading the iPhoto upgrader it still will not open.  Any suggestions.

    Resetting Printing System helps OS X recognize new printers.
    http://support.apple.com/kb/HT1341
    When you add the printer, make sure you use IP > Jetdirect and the correct printer IP address.

  • Unable to open windows using boot camp.  Get message "The bless tool was unable to set the current boot disk."  Any thoughts, Thank you.

    Unable to open windows using boot camp.  Get message "The bless tool was unable to set the current boot disk."   I am using an Imac , Lion operating system, and Windows 7.  It worked a few days ago.  Any thoughts, Thank you.

    Note that nowhere in the Boot Camp instructions does it tell you to use Disk Utility to format the Windows partition. The Boot Camp Assistant program creates the partition & sets the +partition scheme info+ of the disk as appropriate for the Windows installer but the Windows installer itself is responsible for formatting the new partition with the appropriate +file system scheme+ (NTFS for Windows 7).
    If you follow the instructions in the Boot Camp Installation & Setup Guide to the letter you should have no problems installing Windows.

  • I had original iPhoto app from 2007, but in the last year it stopped working seemingly out of nowhere.  Now I just installed iPhoto 9.5.1 but it won't open even after downloading the iPhoto Library Updater.  My pictures are lost in the abyss.

    I had original iPhoto app from 2007 or 2008, but in the last year it stopped working seemingly out of nowhere.  Now I just installed iPhoto 9.5.1 but it won't open even after downloading the iPhoto Library Updater.  My pictures are lost in the abyss.
    I'm using OS Extended 10.9.5.  I don't know what the original version of iPhoto was.

    I just installed iPhoto 9.5.1 but it won't open even after downloading the iPhoto Library Updater
    Have you run the iPhoto Library Upgrader? You need to direct it to the location of your old iPhoto Library by clicking the "Choose Library" button in the lower right corner of the panel you are seeing when the upgrade starts.

  • HT5037 Iphoto Still wont open even after installed the prepare file

    Still wont open even after installed the prepare file. I haven't felt this frostation since window 5 

    Go to Applications /Utilities. Find the upgrader app there. Double click on it to run it.
    I haven't felt this frostation since window 5
    Sorry, no idea what this means.

  • Last time I updated pages I lost features I liked and was unable to open some pages files.  Now I see the features I liked are back but I have a lot more files to worry about.  Will I be able to open files created in 5.2 if I upgrade to 5.5.3?

    Last time I updated pages I lost features I liked and was unable to open some pages files.  Now I see the features I liked are back but I have a lot more files to worry about.  Will I be able to open files created in 5.2 if I upgrade to 5.5.3?

    Within reason, Pages v5.2 documents are forwards compatible with Pages v5.5.3. Apple introduced the single file format document as a default with Pages v5.5.3 which is not backwards compatible with Pages v5 on Mavericks.
    However, they also provided a File > Advanced > Change File Type > {Single File, Package} menu that allows you to change the current Pages v5.5.3 document into the backwards compatible Package type document. You would follow this transformation with a File > Save operation to complete it.

Maybe you are looking for

  • Possible to skip the validate phase in a valuechangelistener?

    Hi, I'm using MyFaces 1.1.6. Does anyone know how I can skip the validation phase of the JSF lifecycle from within a valuechangelistener method? I'm trying this ...     public void updateTimePrefs(ValueChangeEvent vce) {         vce.setPhaseId(PhaseI

  • SP Designer Workflow: How to Get Full URL Path to List Item and inserted same list ITem URL in another list

    Hi, I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item  column entry url will show the parent item information. Here i have create work flow and insert

  • BOUNCED SPAM I HAVEN'T SENT?

    I subscribe to .mac mail, to which all email sent to my domain name is forwarded. For the past week or so I keep on getting emails from such entities as MAIL DELIVERY SYSTEM, or MAILER-DAEMON, or BARRACUDA SPAM FIREWALL, etc, all notifying me of a "D

  • PLS-00049: bad bind variable 'IN_DPC_CODE'

    Hi, I am gettig following errors while creating a stored procedure. please help me. BEGIN EXECUTE IMMEDIATE sql_stmt INTO OUT_ROWNUM, OUT_DPC_CODE_ORIG, OUT_SENSOR_ID, OUT_HEADER_DATE,OUT_FIRST_BLOCK_NUMBER, LAST_BLOCK_NUMBER, OUT_RECORD_QUANTITY,OUT

  • WL6.1 SocketException

    "I am facing this problem of SocketException being thrown on server console a number of times. I have just moved to weblogic 6.1 from 6.0. I have compiled all the classes with references to weblogic.jar and jdk from WL6.1. The cause of this exception