You need to temporarily transfer the authorization to the other account. First, get the key from your account:
bash $ xauth list
aspc2o1/unix:10 MIT-MAGIC-COOKIE-1 bc334c66cfec3c5c3d5b0efc4ee9d3ad
Next, sudo/su to the other account and add the authorization key.
bash $ su – oracle
oracle $ xauth add aspc2o1/unix:10 MIT-MAGIC-COOKIE-1 bc334c66cfec3c5c3d5b0efc4ee9d3ad
Now, you should be able to start any X Windows application, assuming that your DISPLAY variable is set to go through the ssh tunnel:
oracle $ xterm
The script is launched as root also if the creation of oracle unix user is mandatory before to start with the installation.
In any case in the script i have added the xauth add command for oracle user: but unfortunately the result is always the same.
I have also noticed that the environment variables of root (like $PATH,$DISPLAY) change if you try to echo them from Bladelogic script and from Putty Client. I have also tried to make the Bladelogic ones equal to the Putty ones...same bad result
have you check ssh X11 forwarding enabled on the remote server. Check that /etc/ssh/sshd_config has the following option X11Forwarding yes
xauth configured for oracle user, or connect directly as oracle user
X11 forwarding enabled in PuTTY
1 of 1 people found this helpful
The silent installer should not be using xwindows. You are trying to run the silent installer right? what happens if you unset the DISPLAY variable and run the silent installer ?