Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using <IP> as the value of the DISPLAY variable
Posted on 2011-05-01
I am trying to install Oracle 9i Database server software on CentOS 5.5 on an Amazon Cloud server through SSH(putty). When the runInstaller is invoked it throws the error -
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '188.8.131.52:0.0' as the value of the DISPLAY variable
I tried the below steps
1. # xhost +
xhost: unable to open display ""
2. export DISPLAY=184.108.40.206:0.0
3. export DISPLAY=:0.0
4 uncommented the below lines from /etc/ssh/sshd_config file
X11UseLocalhost yes. And restarted sshd service.
But nothing helps and problem still persists. Tried to connect through 'XWinLogon' but unable to do so. Please let me know what can be done to set the display correctly and start the database installation.