Dbca xlib connection to "0.0" refused by server errror

i am using oracle enterprise linux 5.4 in virtual machine and i am trying to create a new database using the DBCA
but when i do this
an error is returned
XLib: connection to "0.0" refused b server
XLib: no protocol specified
exception in thread main
how to rectify it??

This is often an indication of doing things in the wrong order.
Step 1: Log on to the computer that has an XWindows screen
Step 2: Tell that screen to accept remote requests by issuing "xhost +"
Step 3: Log on to the computer / user that is to use the XWindows
Step 4: Tell that to display on the computer that is to be used for display using export DISPLAY=(host):display.screen
Step 5: Run the program that needs a display
Many people log in to root on the computer and then su to oracle to do the installs. While this is fundamentally a stupid thing to do, because using root unnecessarily increases potential security risks and is it NOT good practice and will it NOT be allowed in any self-respecting business, the following would be the sequence
1) Log on to XWindows as root
2) Open a terminal
3) enter 'xhost +'
4) enter 'su - oracle'
5) enter 'export DISPLAY=:0.0'
6) runInstaller (or use whatever installer is required)
The most common mistake is running xhost after su. This will not work. The xhost must be issued by the first user - the one that owns the screen.
Hans Forbrich @ The specified item was not found.
Regards
Girish Sharma

Similar Messages

  • Xlib: connection to ":0.0" refused by server

    Hi ,
    I am trying to install Oracle 10g 10.2.0.1 in RHEL 5, i believe all pre installation task has been completed perfectly.
    Problem is when i invoke oralce unversal installer it is giving me error like this.
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, redhat-5, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /temp/OraInstall2010-03-05_09-48-33PM. Please wait ...[oracle@localhost database]$ Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at java.awt.Window.init(Unknown Source)
    at java.awt.Window.<init>(Unknown Source)
    at java.awt.Frame.<init>(Unknown Source)
    at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
    at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
    at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
    its drving me crazy.Please help me solve it
    Thanks in advance
    Salai

    SalaiThenagan wrote:
    I am trying to install Oracle 10g 10.2.0.1 in RHEL 5, i believe all pre installation task has been completed perfectly.In my experience, the most common problem is that the user originally logs in as root on the machine, and then attempts to run the installer using 'su - oracle' or 'su oracle'.
    (Only newbies and people who do not plan on being in a production environment will learn the habit of logging in as root anyway. There is NO production environment that I have encountered that will let people, even System Administrators, use root on a regular basis without explicit justification.)
    The simplest solution is usually to log out - all the way out - and then log in as Oracle. Then try the runInstaller again and post the results.

  • Xlib:  connection to ":2.0" refused by server

    Hi,
    I'm new to Oracle and am attempting to install database 10g version 2 on RHEL4 xLinux system and need help in getting past an installation error.
    When running ./runInstaller, it passes installer requirements, but gets an error stating:
    Xlib: connection to ":2.0" refused by server
    Xlib: No protocol specified
    This is immediately followed by java error:
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':2.0' as the value of the DISPLAY variable.

    A few pointers:
    1) Do not log on to Linux as root. Make sure the graphical screen is owned by oracle
    2) If necessary, set your permissions to wide-open by using xhost + ... do not leave in this mode for long if you are concerned about security
    3) Set the DISPLAY variable, usually to DISPLAY=:0.0 or DISPLAY=localhost:0.0
    This is a common error. Internet search will provide good answers

  • X11 ERROR: Xlib: connection to ":0.0" refused by server

    Hi all,
    I've problem with X11 on os x 10.6.2.
    Every time I move my macbook pro from office to home (and viceversa)
    X11 needs to be quit and restarted otherwise I get the following
    error:
    Xlib: connection to ".0" refused by server
    and X11 won't launch windows. Now this error is certainly linked
    to the fact that the computer changes IP address.
    What's the best way to solve the problem ?
    below you find the first lines of my .xinitrc
    thanks
    marco
    14:49> cat ~/.xinitrc
    #!/bin/sh
    # $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $
    userresources=$HOME/.Xresources
    usermodmap=$HOME/.Xmodmap
    sysresources=/etc/X11/xinit/.Xresources
    sysmodmap=/etc/X11/xinit/.Xmodmap
    # merge in defaults and keymaps

    Are you setting DISPLAY somewhere? You should not be. The system sets DISPLAY, and X11 will not work if you change the system-set value.

  • Mc shows Xlib: connection to ":0.0" refused by ser

    After upgrading mc to mc 4.6.1-3 I see these msg after runing mc or mcedit as root:
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    I tried to downgrade to mc from current but pacman says:
    error: archive mc-4.6.1-2.pkg.tar.gz is corrupted
    ( I cleared the cache and used wget to download it )
    Edit:
    I found out that mc from testing is compiled --with-x, what does it do/add?

    Try issuing
    xhost +localhost
    under the user you run X

  • Xlib: connection to refused by server

    Dear all,
    I'm trying to run a report on eBus SE. If I define the format as Text file, there's no problem.
    But if I defined as ODF I'm getting this error while running.
    Xlib: connection to "servername:0.0" refused by server
    Xlib: No protocol specified
    Kindly note that I'm able to open GUI session on the server.
    Rgds,

    We have done like relinking,compile apps schema
    And checked the xml,jserv.properties for display issue.
    Entries are correct there.
    Xlib: connection to "s-mum-dev:0.0" refused by server^M
    Xlib: Client is not authorized to connect to Server^M
    Xlib: connection to "s-mum-dev:0.0" refused by server^M
    Xlib: Client is not authorized to connect to Server^M
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    Report Builder: Release 6.0.8.28.0 - Production on Wed Apr 27 18:14:24 2011
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 1321658.
    Review your concurrent request log and/or report output file for more detailed information.

  • Unable to Open Application - Xlib: connection to "localhost:10.0" refused by ser

    Hello,
    I have Tarantella installed on Fedora Core 2.
    I am accessing the WebTop from Windows XP machine. After logging in with
    Administrator account when I click on kedit nothing happens so I clicked
    on show details and I found below log. I really don�t know what this
    means...could some one help me in resolving this issue.
    Thanks & Regards
    Suraj Jadhav
    Starting the application...
    Connecting to Protocol Engine...
    Initialising ...
    Logging in to the application server...
    root@weboffice's password:
    Last login: Sun Oct 30 15:45:33 2005 from weboffice
    ]0;root@weboffice:~[root@weboffice root]# exec /bin/sh
    sh-2.05b# [ -f /bin/ksh ] && exec /bin/ksh
    Configuring your environment...
    # set o emacs ; set o gmacs ; set +o vi
    # LD_LIBRARY_PATH=/usr/lib; export LD_LIBRARY_PATH
    # ALTDISPLAY=weboffice:11; export ALTDISPLAY
    # TTA_UID="`LANG=C LC_ALL=C id | sed 's/.*uid=\([0-9][0-9]*\).*/\1/'`";
    export TTA_UID
    # TTA_USERNAME='.../_ens/o=Tarantella System Objects/cn=Administrator';
    export TTA_USERNAME
    # TTA_PRIMARY_DNSNAME='weboffice'; export TTA_PRIMARY_DNSNAME
    # TTA_PE_ID=''; export TTA_PE_ID
    # TTA_CLIENT_IPADDR='172.17.2.81'; export TTA_CLIENT_IPADDR
    # TERM=''; export TERM
    # TTA_PEERDNSNAME='weboffice'; export TTA_PEERDNSNAME
    # TTA_EXTDNSNAME='weboffice'; export TTA_EXTDNSNAME
    # if [ -f /etc/ttaprinter.conf ]; then . /etc/ttaprinter.conf; export
    LPDEST; fi
    Starting the application...
    # if [ -x /usr/bin/konsole ]; then echo "Found"; else echo "Not
    available"; fi
    Found
    Xlib: connection to "localhost:10.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    konsole: cannot connect to X server localhost:10.0
    Connection to weboffice closed.

    Try turning off Xsecurity using:
    # ./tarantella config edit --security-xsecurity 0
    and let us know if this resolves your issue or not.
    Suraj Jadhav wrote:
    Hello,
    I have Tarantella installed on Fedora Core 2.
    I am accessing the WebTop from Windows XP machine. After logging in with
    Administrator account when I click on kedit nothing happens so I clicked
    on show details and I found below log. I really dont know what this
    means...could some one help me in resolving this issue.
    Thanks & Regards
    Suraj Jadhav
    Starting the application...
    Connecting to Protocol Engine...
    Initialising ...
    Logging in to the application server...
    root@weboffice's password:
    Last login: Sun Oct 30 15:45:33 2005 from weboffice
    ]0;root@weboffice:~[root@weboffice root]# exec /bin/sh
    sh-2.05b# [ -f /bin/ksh ] && exec /bin/ksh
    Configuring your environment...
    # set o emacs ; set o gmacs ; set +o vi
    # LD_LIBRARY_PATH=/usr/lib; export LD_LIBRARY_PATH
    # ALTDISPLAY=weboffice:11; export ALTDISPLAY
    # TTA_UID="`LANG=C LC_ALL=C id | sed 's/.*uid=\([0-9][0-9]*\).*/\1/'`";
    export TTA_UID
    # TTA_USERNAME='.../_ens/o=Tarantella System Objects/cn=Administrator';
    export TTA_USERNAME
    # TTA_PRIMARY_DNSNAME='weboffice'; export TTA_PRIMARY_DNSNAME
    # TTA_PE_ID=''; export TTA_PE_ID
    # TTA_CLIENT_IPADDR='172.17.2.81'; export TTA_CLIENT_IPADDR
    # TERM=''; export TERM
    # TTA_PEERDNSNAME='weboffice'; export TTA_PEERDNSNAME
    # TTA_EXTDNSNAME='weboffice'; export TTA_EXTDNSNAME
    # if [ -f /etc/ttaprinter.conf ]; then . /etc/ttaprinter.conf; export
    LPDEST; fi
    Starting the application...
    # if [ -x /usr/bin/konsole ]; then echo "Found"; else echo "Not
    available"; fi
    Found
    Xlib: connection to "localhost:10.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    konsole: cannot connect to X server localhost:10.0
    Connection to weboffice closed.

  • Xlib: connection to "hostname:1.0" refused by server

    HI ,
    Am on 11.5.10.2
    RDBMS 9.0.2.0.6
    We are facing
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    While running PDF Reports.
    Workaround i did is :
    1.Logged in as root
    #vncserver :1
    2.Set the Display value to hostname:1.0 in adcmctl.sh & TEST_hostname.xml
    3.run autoconfig ...
    Autoconfig was sucessfull.
    Still problem persits.
    Workaround2.
    1. I just tried to run adcfgclone again...
    this time am not able to run text format also...
    am facing error :
    Xlib: connection to "rofdbs3:1.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    Xlib: connection to "rofdbs3:1.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    Plz its urgent..
    Thanks

    Hi,
    Please see old threads as we discussed the REP-3000 and "refused by server" errors many times in the forum before.
    REP-3000
    http://forums.oracle.com/forums/search.jspa?threadID=&q=REP-3000&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    refused by server
    http://forums.oracle.com/forums/search.jspa?threadID=&q=%22refused+by+server%22&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Xlib: connection to "test:0.0" refused by server

    hi all,
    whenever I try to submit a HRMS request it is stopped with 'Cancelled:Error" and when I am vewing the log the following message is showing:-
    Xlib: connection to "test:0.0" refused by server
    Xlib: No protocol specified
    Xlib: connection to "test:0.0" refused by server
    Xlib: No protocol specified
    REP-3000: Internal error starting Oracle Toolkit.
    REP-3000: Internal error starting Oracle Toolkit.
    whenever I put 'xhost +' in root the following message is showing-
    doaccess control disabled, clients can connect from any host
    are the two issues connected?
    p.s. i have already tried export DISPLAY = :0.0
    please help me what to do ?

    Hi Annex;
    Please check your DISPLAY is set corectly, Also check X-server is running.If all is okey then issue is:
    Connect server via vnc
    open terminal on vnc screen
    as root type xhost +
    then retest issue
    Also see:
    Note: 153960.1 - FAQ: X Server Testing and Troubleshooting
    Note: 189959.1 - Error: Xlib:Connection to "X:0:0" Refused by Server
    Note: 340949.1 - How to set environment variable DISPLAY for Oracle Applications to use xserver of another machine
    How to Set DISPLAY Environment Variable
    Re: How to Set DISPLAY Environment Variable
    REP-3000: Error Oracle Toolkit
    REP-3000: Error Oracle Toolkit
    http://forums.tangosol.com/forums/thread.jspa?threadID=900920
    Adbldxml  Display Variable in 11i

  • Problem with X11: Xlib: connection to ".0" refused by server

    Hi all,
    I've problem with X11 on os x 10.6.2.
    Every time I move my macbook pro from office to home (and viceversa)
    X11 needs to be quit and restarted otherwise I get the following
    error:
    Xlib: connection to ".0" refused by server
    and X11 won't launch windows. Now this error is certainly linked
    to the fact that the computer changes IP address.
    What's the best way to solve the problem ?
    below you find the first lines of my .xinitrc
    thanks
    marco
    14:49> cat ~/.xinitrc
    #!/bin/sh
    $Id: xinitrc,v 1.2 2003/02/27 19:03:30 jharper Exp $
    userresources=$HOME/.Xresources
    usermodmap=$HOME/.Xmodmap
    sysresources=/etc/X11/xinit/.Xresources
    sysmodmap=/etc/X11/xinit/.Xmodmap
    merge in defaults and keymaps

    marcoajello wrote:
    and X11 won't launch windows. Now this error is certainly linked
    to the fact that the computer changes IP address.
    Yes this look like a bug as old as 10.4 .
    Keep in mind that X11 wasn't made for mobile users .
    What's the best way to solve the problem ?
    below you find the first lines of my .xinitrc
    I havn't been able to find a definite fix to this problem.
    Nonetheless I have a workaround which avoid me to have
    to restart my X11 twice a day. I'm a mobile user, I use
    many different network locations, and I use X11 full time too.
    I created an isolated location named "- isolated" so as to
    keep it on top of my Location menu. This location is simply
    built by removing all the services "Ethernet", "AirPort"…
    Then, when I leave my home, I always switch to my "- isolated" Location.
    When I arrive at my office or within a meeting, I switch to the correct
    Location.
    I can proceed with my work in progress within X11 applications.
    And I can open new X11 applications without any trouble.
    When I leave my office I also swith to my "- isolated" location.
    If you find any better workaround, please post it.
    <pre>--------
    As long as you'll see students making graphics with pen on paper,
    you'll see the missing keystone of the software empire.
    dan</pre>

  • Connection of oracle database in database server from application server

    Hi,
    I have two servers, one is application server and another one is database server…..
    I want to connect oracle 10g database in database server to application server. In application server oracle 10g client is installed……In database server, I have set tnsnames.ora, Listener.ora …while checking in lsnrctl…the particular sid is running fine…
    In application server, while I give as sqlplus
    After giving username and password its showing error as
    ORA-12545: Connect failed because target host or object does not exist
    While surfing in net it shows check tnsnames.ora and listener.ora….. I have set the environmental variables here in application server…..
    It’s connecting when I give
    Sqlplus
    Sql>username/password @ hostname: 1521/sid_name
    Is it possible to connect with the username and password
    I have set the host names in /etc/hosts….
    If we are giving the hostname, port number and Sid name this connects without using tnsnames.ora…..
    While pinging between two servers the connectivity is there between two servers…..
    Could u pls help me out?
    Thanks in advance

    hi,
    as u said i have done that ..s.till the same problem persists...
    lsnrctl>services
    $ lsnrctl
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 08-FEB-2007 03:56:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> services
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "RBTT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "RBTTXDB" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: emea, pid: 197076>
    (ADDRESS=(PROTOCOL=tcp)(HOST=emea)(PORT=37484))
    Service "RBTT_XPT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER

  • Remote Connection from SAP to MS-SQL server

    Hello Experts,
    We have been following 2 options so far and we have come across some issues
    The first Option is to call a stored procedure (this is our preferred method) which does the data transfer for us
    We have been able to test this scenario successfully from SQL Server side
    However, while calling the stored proc via native SQL from ABAP we have come across an issue which is due to SQL 2005 changes (Schema implementation and difference in the security context)
    While calling the stored procedure from the ABAP Code we have an error
                The program short dumps with runtime error DBIF_DSQL2_SQL_ERROR, exception CX_SY_NATIVE_SQL_ERROR. The database error code is 15274, and the error text is
                 "Access to the remote server     is denied because the current security context is not trusted."
    This issue is new after the SQL Server 2005.
    We are trying to resolve that.
    Secondly we have been trying the DBCON option as well as per OSS Note 323151
    We have a few things thatu2019s impacting our scenario:
    The remote servers are in a different domain
    The remote servers are located  in DIZ
    Remote server is a named instance
    Remote server has been configured with a different port than standard (1565) u2013 All Connection strings will need port in there
    The Database name starts with a numeric value
    Due a combination of factors as mentioned above the standard approach does not work
    Have any of you used this approach while connecting from SAP to MS-SQL server? Do you know of any successful methods to connect to SQL using ABAP (or not) from SAP.
    Thanks in advance,

    Yes,
    DBConnect & UDConnect.
    Works like a charm.
    We write data into a MS-SQL database via DBConnect & an ABAP program (using open sql).

  • I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    Ditto. Guest accounts shouldn't have a password. No way to enter one in System Prefs...

  • Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

    I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am
    getting an error message.
    Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?
     I am getting the following error message:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    The request failed with HTTP status 404: Not Found.

    Hi bucaroov,
    The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
    Please follow these steps to solve the issue:
    Logon the Report Server machine.
    Open the Reporting Services Configuration Manager.
    Copy the Report Server URL from 'Web Services URL'.
    Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
    not available, could you please post the error message.
    Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
    For more information, please see:
    Walkthrough: Using the ReportViewer Control in Remote Mode:
    http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • I would like to know which apple server dictation connects to so that my proxy server will stop blocking it. Which apple server does it connect too?

    I would like to know which apple server dictation connects to so that my proxy server will stop blocking it. Which apple server does it connect too?

    I would presume so, but it might be worth your while to experiment and play around with different combinations to see if you can block FaceTime while keeping Game Center open.  Good luck!

Maybe you are looking for

  • I have just upgraded to 3.6.10 and find FF now crashes when I load it.

    After updating from 3.6.8 (or 9 not sure) to 3.6.10 I find FF crashes within a couple of seconds of starting. The very first time I got messages from my iGoogle home page asking me to enable cookies (they were) and to clear my cache (which I did). No

  • HP Pavilion g6 2304TX recovery drive (WINDOWS 8.1)

    it seems to be that in my recovery driver it has old windows 8 but i have switched to windows 8.1,now how i can upgrade the recovery driver for the same for windows 8.1

  • Forms to OA migration

    Is there any tool available to migrate oracle applications forms to OAfwk pages. Is it feasible by any means?

  • Com.sapportals.wcm

    Hi, could somebody please send me a JAR file containing the IURLGeneratorServiceClass or or even better everything under com.sapportals.wcm.* to   [email protected] Best Regards

  • Crash on importing .ai CS4 OS X

    Premiere has been crashing on me a lot. I'm hoping it is not my system. Macbook Pro running OS X version 10.6.3 and am using Premiere Pro CS4 and Illustrator CS4 both from the Master Collection. I am making a simple Illustrator file that has only a c