LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   xhost + as user oracle not working, need to see oracle install GUI (http://www.linuxquestions.org/questions/linux-software-2/xhost-as-user-oracle-not-working-need-to-see-oracle-install-gui-242312/)

enzo250gto 10-13-2004 04:50 PM

xhost + as user oracle not working, need to see oracle install GUI
 
Hello,

I'm trying to install oracle on a machine that on the opposite side of the planet as me. I can do xhost + as user root and then /usr/X11R6/bin/xclock and the clock on the remote server shows up on my Linux X screen here.

I try it with user oracle and get this:

[oracle@67 oracle]$ /usr/X11R6/bin/xclock
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ xhost +
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
[oracle@67 oracle]$ DISPLAY=localhost:0.0; export DISPLAY
[oracle@67 oracle]$ /usr/X11R6/bin/xclock
Error: Can't open display: localhost:0.0
[oracle@67 oracle]$


How can I allow the oracle user to access the display? I need to be able to do xhost + as user oracle so I can run the Installer from my client machine.

MensaWater 01-04-2007 01:42 PM

Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.

Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.

ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.

indianirav 02-11-2007 11:27 AM

Quote:

Originally Posted by jlightner
Long overdue answer - just saw this post today when viewing "similar" posts to another thread. Figured I'd post it in case someone found this thread later in a search.

Anyway you can get around the whole Xhost thing by using ssh X forwarding (tunneling) when you open the original login.

ssh -X <hostname>. This will set your DISPLAY automatically and it will display back over the ssh connection. Make sure you don't have anything in the login (/etc/profile, /etc/bashrc, $HOME/.profile, $HOME/.bashrc etc...) that explicity sets DISPLAY as it would overwite the value you need.


thanks alot


All times are GMT -5. The time now is 09:25 AM.