Find the answer to your Linux question:
Results 1 to 6 of 6
When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty. However, when I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    3

    When I attempt to use Putty for xterm (to run DBCA for Oracle)


    When I attempt to use Putty for xterm (to run DBCA for Oracle) I check x11 and put my IP Address in the Display field of putty.

    However, when I then try to execute ./dbca I receive the following:

    Xlib: connection to "localhost:10.0" refused by server
    Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
    Error: Can't open display: localhost:10.0



    I notice the following when logging in to the server as well.

    Last login: Fri Mar 19 13:51:19 2010 from 10.47.48.33
    /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority

    These are the same steps I take successfully on all the servers. The above file exists on the servers I can initiate the GUI, but not on <server1>.

  2. #2
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    I am not sure what you actually are doing.

    Are you running Putty from a windows machine to a linux server with Oracle on it?
    If so, you can use the ssh or telnet protocol.
    But you have to run a ssh or telnet server on the linux machine.
    If you use ssh you cannot log-in as root.
    But with telnet, you can.

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    3

    Re: 'When I attempt to use Putty for xterm (to run DBCA for Oracle)'

    Yes, using putty to login to SLES linux. Oracle tools are installed on the box. Protocol is ssh. And the ssh server is running on the box. Able to login as root, but that's not the problem. Here is what's going on: I login as user oracle, attempt to run ./dbca, and get the following messages:

    Xlib: connection to "localhost:10.0" refused by server
    Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
    Error: Can't open display: localhost:10.0


    **************and*********************

    /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority
    (This file doesn't exist on the server where the problem is, and it's stooping the GUI from loading. I can't figure out why)

  4. #4
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    You either login as root with root as username or as oracle with oracle as username.
    You can't do both at the same time.

    You cannot connect because you get the message:
    connection refused by server.
    wrong authentication protocol attempted.
    You cannot ignore that.

    What happens if you use telnet as protocol instead?

  5. #5
    Just Joined!
    Join Date
    Apr 2010
    Posts
    3
    First, thanks for looking at this, I really appreciate your input.
    Now, no one's trying to use both accounts at the same time. The point I'm trying to make here is that the error,

    /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority

    Has more to do with X11 forwarding with putty, and not with not with being able to connect. This file is created when you use xterm, and that's just not happening. It's in my original post. As I stated, the GUI doesn't initiate when logged in as the user oracle. I'll say it again, logging in and connectivity AREN'T the issue.
    And lastly, telnet is not an option, since this is a production environment. Never, ever, never.

  6. #6
    Linux Newbie
    Join Date
    Mar 2007
    Posts
    142
    I'm afraid we can't help you.
    You said everything you did was correct.
    But you got the message:

    /usr/X11R6/bin/xauth: error in locking authority file /home/oracle/.Xauthority

    This is caused by:

    Xlib: connection to "localhost:10.0" refused by server
    Xlib: PuTTY X11 proxy: wrong authentication protocol attempted

    The authentication protocol you use is ssh, so that would be the problem.
    You want to use xterm, but why not console?

    Anyway you have to be precise of what you exactly do.
    You say you login as root and as oracle, that's strange.
    But maybe there is someone here who has experience with oracle.
    Or you look at oracle itself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •