A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
X11 connection rejected because of wrong authentication
April 14, 2015
11:39 am
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

 

Description:

I need to install Oracle 11.2 on RHEL 5 Amazon (AWS) instance. When log in as user oracle su – oracle and try to start installer i got next error:

X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

 

Solution:

1. This happen because i connected to instance as root and identification key generated for root user not for oracle. To fix it need to generate key for oracle user and connect to instance with it.

# cd ~oracle

# ssh-keygen -f oracle

# mkdir .ssh
# chmod 700 .ssh
# chown oracle:oinstall .ssh
# cat oracle.pub >> .ssh/authorized_keys
# chmod 600 .ssh/authorized_keys
# chown oracle:oinstall .ssh/authorized_keys

 

2. Copy oracle (primary key) file to server from where you will connect (windows 2012 in my case) and convert it to ppk file

(without passphrase) with puttygen.exe utility. Download it from internet if you dont have it.

 

Conversions => Import Key
Search for the id_rsa key on you computer
Click on “Save Private Key” and “Yes” to save without a passphrase.
Choose a location and a name for the new .ppk key

 

3. Connect with new key to server. I use MobaXterm

# ssh -Y -i "c:\oracle.ppk" oracle@10.10.2.1     

 

-Y enables Authentication for X11

-i path to key file

10.10.2.1 IP of your AWS instance

 

Thank you.

 

 

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)