X-Server access is denied on host
The situation is: I have a RHEL 7.3 VM that I am able to access via both ssh and VM console. I am able to run all of the standard commands for verifying that X11 forwarding/xhost permissions are working (xclock, nautilus, firefox, etc.) i can also run the runInstaller for Oracle client, No problems in any of these situations.
However, attempting to run the installation of Oracle WebLogic 12.1.3 with : cissys as user and the ligne command: java -jar fmw_12.1.3.0.0_wls.jar. try with oracle user = same error. results in the following : Code:
Launcher log file is /tmp/OraInstall2017-07-25_03-14-27PM/launcher2017-07-25_03-14-27PM.log. If anyone has any idea of an obvious or less-than-obvious culprit, I would absolutely love to hear it. |
Hi melghaze,
Welcome to LQ! edit ... Quote:
|
Delete the DISPLAY environment setting from your profile.
ssh will forward the protocol, but to do that requires sshd to create the forwarded socket - and that means that sshd must also create the DISPLAY environment variable to use, AND set the security tokens for that display. Setting the DISPLAY environment variable is ALWAYS the wrong thing to do. A local GUI login WILL create it for you, and it will NOT be 192.168... anything. Local X displays are using DOMAIN sockets for security. Thus setting the DISPLAY to anything will wipe out your access. The error is that you are setting your DISPLAY environment variable to "172.16.40.30:0.0", and that is INVALID. |
sshd on the server must be configured to permit X11 forwarding. Oracle Universal Installer is a java-based application. I'm not sure how well it cooperates with sshd.
|
All times are GMT -5. The time now is 12:15 PM. |